0.6.13 • Published 7 months ago

@dxos/plugin-script v0.6.13

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@dxos/plugin-script

Surface plugin for script editor.

Composer config:

# packages/app/composer-app/dx.local.yml
version: 1
runtime:
  client:
    edgeFeatures:
      echoReplicator: true
  services:
    edge:
      url: wss://edge.dxos.workers.dev/
    agentHosting:
      type: LOCAL_TESTING

Test credentials:

await dxos.client.halo.writeCredentials([{
  issuer: dxos.client.halo.identity.get().identityKey,
  subject: {
    id: dxos.client.halo.identity.get().identityKey,
    assertion: {
      '@type': 'dxos.halo.credentials.ServiceAccess',
      serverName: 'hub.dxos.network',
      serverKey: dxos.client.halo.identity.get().identityKey,
      identityKey: dxos.client.halo.identity.get().identityKey,
      capabilities: ['composer:beta']
    }
  }
}])

Start composer:

DX_HUB_URL="https://hub-staging.dxos.workers.dev/" DX_ENVIRONMENT=test px serve composer-app

Streaming request:

curl -X POST -sN -d 'What is DXOS'
0.6.13

8 months ago

0.6.12

8 months ago

0.6.11

9 months ago

0.6.10

9 months ago

0.6.9

9 months ago

0.6.8

9 months ago

0.6.8-main.3be982f

9 months ago

0.6.8-main.046e6cf

9 months ago