@dxos/plugin-script
v0.7.4
Published
Braneframe notebook plugin
Downloads
1,455
Keywords
Readme
@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: https://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'