@vibesdotdev/hq 0.0.0-stage → 1.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +49 -2
- package/dist/agent-events/descriptors.d.ts +33 -0
- package/dist/agent-events/descriptors.d.ts.map +1 -0
- package/dist/agent-events/descriptors.js +34 -0
- package/dist/agent-events/descriptors.js.map +1 -0
- package/dist/app/auth/cloud-sync.consumer.d.ts +12 -0
- package/dist/app/auth/cloud-sync.consumer.d.ts.map +1 -0
- package/dist/app/auth/cloud-sync.consumer.js +31 -0
- package/dist/app/auth/cloud-sync.consumer.js.map +1 -0
- package/dist/app/auth/hq.app-auth-machine.record.descriptor.d.ts +5 -0
- package/dist/app/auth/hq.app-auth-machine.record.descriptor.d.ts.map +1 -0
- package/dist/app/auth/hq.app-auth-machine.record.descriptor.js +39 -0
- package/dist/app/auth/hq.app-auth-machine.record.descriptor.js.map +1 -0
- package/dist/app/auth/hq.app-auth-pairings.record.descriptor.d.ts +5 -0
- package/dist/app/auth/hq.app-auth-pairings.record.descriptor.d.ts.map +1 -0
- package/dist/app/auth/hq.app-auth-pairings.record.descriptor.js +43 -0
- package/dist/app/auth/hq.app-auth-pairings.record.descriptor.js.map +1 -0
- package/dist/app/auth/hq.app-auth-tokens.record.descriptor.d.ts +5 -0
- package/dist/app/auth/hq.app-auth-tokens.record.descriptor.d.ts.map +1 -0
- package/dist/app/auth/hq.app-auth-tokens.record.descriptor.js +42 -0
- package/dist/app/auth/hq.app-auth-tokens.record.descriptor.js.map +1 -0
- package/dist/app/auth/schemas/auth.d.ts +146 -0
- package/dist/app/auth/schemas/auth.d.ts.map +1 -0
- package/dist/app/auth/schemas/auth.js +53 -0
- package/dist/app/auth/schemas/auth.js.map +1 -0
- package/dist/app/auth/service.consumer.d.ts +17 -0
- package/dist/app/auth/service.consumer.d.ts.map +1 -0
- package/dist/app/auth/service.consumer.js +79 -0
- package/dist/app/auth/service.consumer.js.map +1 -0
- package/dist/app/auth/sync.consumer.d.ts +2 -0
- package/dist/app/auth/sync.consumer.d.ts.map +1 -0
- package/dist/app/auth/sync.consumer.js +2 -0
- package/dist/app/auth/sync.consumer.js.map +1 -0
- package/dist/app/auth/sync.d.ts +23 -0
- package/dist/app/auth/sync.d.ts.map +1 -0
- package/dist/app/auth/sync.js +290 -0
- package/dist/app/auth/sync.js.map +1 -0
- package/dist/app/auth/types.d.ts +20 -0
- package/dist/app/auth/types.d.ts.map +1 -0
- package/dist/app/auth/types.js +7 -0
- package/dist/app/auth/types.js.map +1 -0
- package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.d.ts +9 -0
- package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.d.ts.map +1 -0
- package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.js +45 -0
- package/dist/app/sync/hq.app-auth.sync-bridge.descriptor.js.map +1 -0
- package/dist/applets/component-ref.d.ts +6 -0
- package/dist/applets/component-ref.d.ts.map +1 -0
- package/dist/applets/component-ref.js +6 -0
- package/dist/applets/component-ref.js.map +1 -0
- package/dist/applets/index.d.ts +3 -0
- package/dist/applets/index.d.ts.map +1 -0
- package/dist/applets/index.js +3 -0
- package/dist/applets/index.js.map +1 -0
- package/dist/approval/approval-resolved.event.descriptor.d.ts +11 -0
- package/dist/approval/approval-resolved.event.descriptor.d.ts.map +1 -0
- package/dist/approval/approval-resolved.event.descriptor.js +11 -0
- package/dist/approval/approval-resolved.event.descriptor.js.map +1 -0
- package/dist/approval/approval-resolved.job.descriptor.d.ts +36 -0
- package/dist/approval/approval-resolved.job.descriptor.d.ts.map +1 -0
- package/dist/approval/approval-resolved.job.descriptor.js +24 -0
- package/dist/approval/approval-resolved.job.descriptor.js.map +1 -0
- package/dist/approval/approval-resolved.job.impl.d.ts +19 -0
- package/dist/approval/approval-resolved.job.impl.d.ts.map +1 -0
- package/dist/approval/approval-resolved.job.impl.js +26 -0
- package/dist/approval/approval-resolved.job.impl.js.map +1 -0
- package/dist/approval/approval-resolved.subscription.descriptor.d.ts +21 -0
- package/dist/approval/approval-resolved.subscription.descriptor.d.ts.map +1 -0
- package/dist/approval/approval-resolved.subscription.descriptor.js +20 -0
- package/dist/approval/approval-resolved.subscription.descriptor.js.map +1 -0
- package/dist/approval/schemas.d.ts +45 -0
- package/dist/approval/schemas.d.ts.map +1 -0
- package/dist/approval/schemas.js +27 -0
- package/dist/approval/schemas.js.map +1 -0
- package/dist/approval/surface-approval-channel.descriptor.d.ts +14 -0
- package/dist/approval/surface-approval-channel.descriptor.d.ts.map +1 -0
- package/dist/approval/surface-approval-channel.descriptor.js +16 -0
- package/dist/approval/surface-approval-channel.descriptor.js.map +1 -0
- package/dist/approval/surface-approval-channel.impl.d.ts +19 -0
- package/dist/approval/surface-approval-channel.impl.d.ts.map +1 -0
- package/dist/approval/surface-approval-channel.impl.js +101 -0
- package/dist/approval/surface-approval-channel.impl.js.map +1 -0
- package/dist/cli/app/handoff/hq.app.handoff.descriptor.d.ts +40 -0
- package/dist/cli/app/handoff/hq.app.handoff.descriptor.d.ts.map +1 -0
- package/dist/cli/app/handoff/hq.app.handoff.descriptor.js +23 -0
- package/dist/cli/app/handoff/hq.app.handoff.descriptor.js.map +1 -0
- package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.d.ts +7 -0
- package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.d.ts.map +1 -0
- package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.js +107 -0
- package/dist/cli/app/handoff/hq.app.handoff.impl.consumer.js.map +1 -0
- package/dist/cli/app/hq.app.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/app/hq.app.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/app/hq.app.cli-group.descriptor.js +12 -0
- package/dist/cli/app/hq.app.cli-group.descriptor.js.map +1 -0
- package/dist/cli/app/pair/hq.app.pair.descriptor.d.ts +43 -0
- package/dist/cli/app/pair/hq.app.pair.descriptor.d.ts.map +1 -0
- package/dist/cli/app/pair/hq.app.pair.descriptor.js +27 -0
- package/dist/cli/app/pair/hq.app.pair.descriptor.js.map +1 -0
- package/dist/cli/app/pair/hq.app.pair.impl.consumer.d.ts +7 -0
- package/dist/cli/app/pair/hq.app.pair.impl.consumer.d.ts.map +1 -0
- package/dist/cli/app/pair/hq.app.pair.impl.consumer.js +89 -0
- package/dist/cli/app/pair/hq.app.pair.impl.consumer.js.map +1 -0
- package/dist/cli/app/shared/options.d.ts +68 -0
- package/dist/cli/app/shared/options.d.ts.map +1 -0
- package/dist/cli/app/shared/options.js +7 -0
- package/dist/cli/app/shared/options.js.map +1 -0
- package/dist/cli/app/token/hq.app.token.descriptor.d.ts +40 -0
- package/dist/cli/app/token/hq.app.token.descriptor.d.ts.map +1 -0
- package/dist/cli/app/token/hq.app.token.descriptor.js +23 -0
- package/dist/cli/app/token/hq.app.token.descriptor.js.map +1 -0
- package/dist/cli/app/token/hq.app.token.impl.consumer.d.ts +7 -0
- package/dist/cli/app/token/hq.app.token.impl.consumer.d.ts.map +1 -0
- package/dist/cli/app/token/hq.app.token.impl.consumer.js +89 -0
- package/dist/cli/app/token/hq.app.token.impl.consumer.js.map +1 -0
- package/dist/cli/channel/hq.channel.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/channel/hq.channel.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.cli-group.descriptor.js +12 -0
- package/dist/cli/channel/hq.channel.cli-group.descriptor.js.map +1 -0
- package/dist/cli/channel/hq.channel.enable.descriptor.d.ts +21 -0
- package/dist/cli/channel/hq.channel.enable.descriptor.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.enable.descriptor.js +16 -0
- package/dist/cli/channel/hq.channel.enable.descriptor.js.map +1 -0
- package/dist/cli/channel/hq.channel.enable.impl.d.ts +7 -0
- package/dist/cli/channel/hq.channel.enable.impl.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.enable.impl.js +23 -0
- package/dist/cli/channel/hq.channel.enable.impl.js.map +1 -0
- package/dist/cli/channel/hq.channel.fire.descriptor.d.ts +17 -0
- package/dist/cli/channel/hq.channel.fire.descriptor.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.fire.descriptor.js +13 -0
- package/dist/cli/channel/hq.channel.fire.descriptor.js.map +1 -0
- package/dist/cli/channel/hq.channel.fire.impl.d.ts +7 -0
- package/dist/cli/channel/hq.channel.fire.impl.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.fire.impl.js +26 -0
- package/dist/cli/channel/hq.channel.fire.impl.js.map +1 -0
- package/dist/cli/channel/hq.channel.list.descriptor.d.ts +16 -0
- package/dist/cli/channel/hq.channel.list.descriptor.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.list.descriptor.js +13 -0
- package/dist/cli/channel/hq.channel.list.descriptor.js.map +1 -0
- package/dist/cli/channel/hq.channel.list.impl.d.ts +7 -0
- package/dist/cli/channel/hq.channel.list.impl.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.list.impl.js +30 -0
- package/dist/cli/channel/hq.channel.list.impl.js.map +1 -0
- package/dist/cli/channel/hq.channel.logs.descriptor.d.ts +24 -0
- package/dist/cli/channel/hq.channel.logs.descriptor.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.logs.descriptor.js +17 -0
- package/dist/cli/channel/hq.channel.logs.descriptor.js.map +1 -0
- package/dist/cli/channel/hq.channel.logs.impl.d.ts +9 -0
- package/dist/cli/channel/hq.channel.logs.impl.d.ts.map +1 -0
- package/dist/cli/channel/hq.channel.logs.impl.js +74 -0
- package/dist/cli/channel/hq.channel.logs.impl.js.map +1 -0
- package/dist/cli/friction/_store-hint.d.ts +7 -0
- package/dist/cli/friction/_store-hint.d.ts.map +1 -0
- package/dist/cli/friction/_store-hint.js +13 -0
- package/dist/cli/friction/_store-hint.js.map +1 -0
- package/dist/cli/friction/hq.friction.cli-group.descriptor.d.ts +11 -0
- package/dist/cli/friction/hq.friction.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.cli-group.descriptor.js +15 -0
- package/dist/cli/friction/hq.friction.cli-group.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.disposition.d.ts +5 -0
- package/dist/cli/friction/hq.friction.disposition.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.disposition.js +64 -0
- package/dist/cli/friction/hq.friction.disposition.js.map +1 -0
- package/dist/cli/friction/hq.friction.emit.descriptor.d.ts +65 -0
- package/dist/cli/friction/hq.friction.emit.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.emit.descriptor.js +70 -0
- package/dist/cli/friction/hq.friction.emit.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.emit.impl.d.ts +7 -0
- package/dist/cli/friction/hq.friction.emit.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.emit.impl.js +85 -0
- package/dist/cli/friction/hq.friction.emit.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.list.descriptor.d.ts +37 -0
- package/dist/cli/friction/hq.friction.list.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.list.descriptor.js +22 -0
- package/dist/cli/friction/hq.friction.list.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.list.impl.d.ts +7 -0
- package/dist/cli/friction/hq.friction.list.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.list.impl.js +73 -0
- package/dist/cli/friction/hq.friction.list.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.promote.descriptor.d.ts +21 -0
- package/dist/cli/friction/hq.friction.promote.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.promote.descriptor.js +14 -0
- package/dist/cli/friction/hq.friction.promote.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.promote.impl.d.ts +7 -0
- package/dist/cli/friction/hq.friction.promote.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.promote.impl.js +47 -0
- package/dist/cli/friction/hq.friction.promote.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.reject.descriptor.d.ts +24 -0
- package/dist/cli/friction/hq.friction.reject.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.reject.descriptor.js +17 -0
- package/dist/cli/friction/hq.friction.reject.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.reject.impl.d.ts +6 -0
- package/dist/cli/friction/hq.friction.reject.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.reject.impl.js +7 -0
- package/dist/cli/friction/hq.friction.reject.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.resolve.descriptor.d.ts +27 -0
- package/dist/cli/friction/hq.friction.resolve.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.resolve.descriptor.js +18 -0
- package/dist/cli/friction/hq.friction.resolve.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.resolve.impl.d.ts +6 -0
- package/dist/cli/friction/hq.friction.resolve.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.resolve.impl.js +7 -0
- package/dist/cli/friction/hq.friction.resolve.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.show.descriptor.d.ts +24 -0
- package/dist/cli/friction/hq.friction.show.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.show.descriptor.js +17 -0
- package/dist/cli/friction/hq.friction.show.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.show.impl.d.ts +7 -0
- package/dist/cli/friction/hq.friction.show.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.show.impl.js +64 -0
- package/dist/cli/friction/hq.friction.show.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.sync.descriptor.d.ts +16 -0
- package/dist/cli/friction/hq.friction.sync.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.sync.descriptor.js +13 -0
- package/dist/cli/friction/hq.friction.sync.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.sync.impl.d.ts +7 -0
- package/dist/cli/friction/hq.friction.sync.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.sync.impl.js +29 -0
- package/dist/cli/friction/hq.friction.sync.impl.js.map +1 -0
- package/dist/cli/friction/hq.friction.triage.descriptor.d.ts +27 -0
- package/dist/cli/friction/hq.friction.triage.descriptor.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.triage.descriptor.js +18 -0
- package/dist/cli/friction/hq.friction.triage.descriptor.js.map +1 -0
- package/dist/cli/friction/hq.friction.triage.impl.d.ts +6 -0
- package/dist/cli/friction/hq.friction.triage.impl.d.ts.map +1 -0
- package/dist/cli/friction/hq.friction.triage.impl.js +7 -0
- package/dist/cli/friction/hq.friction.triage.impl.js.map +1 -0
- package/dist/cli/friction/invocation.d.ts +12 -0
- package/dist/cli/friction/invocation.d.ts.map +1 -0
- package/dist/cli/friction/invocation.js +28 -0
- package/dist/cli/friction/invocation.js.map +1 -0
- package/dist/cli/health/hq.health.descriptor.d.ts +19 -0
- package/dist/cli/health/hq.health.descriptor.d.ts.map +1 -0
- package/dist/cli/health/hq.health.descriptor.js +16 -0
- package/dist/cli/health/hq.health.descriptor.js.map +1 -0
- package/dist/cli/health/hq.health.impl.d.ts +3 -0
- package/dist/cli/health/hq.health.impl.d.ts.map +1 -0
- package/dist/cli/health/hq.health.impl.js +151 -0
- package/dist/cli/health/hq.health.impl.js.map +1 -0
- package/dist/cli/host-platform.d.ts +14 -0
- package/dist/cli/host-platform.d.ts.map +1 -0
- package/dist/cli/host-platform.js +30 -0
- package/dist/cli/host-platform.js.map +1 -0
- package/dist/cli/hq.cli-group.descriptor.d.ts +11 -0
- package/dist/cli/hq.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/hq.cli-group.descriptor.js +11 -0
- package/dist/cli/hq.cli-group.descriptor.js.map +1 -0
- package/dist/cli/init/hq.init.descriptor.d.ts +7 -0
- package/dist/cli/init/hq.init.descriptor.d.ts.map +1 -0
- package/dist/cli/init/hq.init.descriptor.js +36 -0
- package/dist/cli/init/hq.init.descriptor.js.map +1 -0
- package/dist/cli/init/hq.init.impl.d.ts +7 -0
- package/dist/cli/init/hq.init.impl.d.ts.map +1 -0
- package/dist/cli/init/hq.init.impl.js +163 -0
- package/dist/cli/init/hq.init.impl.js.map +1 -0
- package/dist/cli/install/hq.install.descriptor.d.ts +9 -0
- package/dist/cli/install/hq.install.descriptor.d.ts.map +1 -0
- package/dist/cli/install/hq.install.descriptor.js +34 -0
- package/dist/cli/install/hq.install.descriptor.js.map +1 -0
- package/dist/cli/install/hq.install.impl.d.ts +6 -0
- package/dist/cli/install/hq.install.impl.d.ts.map +1 -0
- package/dist/cli/install/hq.install.impl.js +110 -0
- package/dist/cli/install/hq.install.impl.js.map +1 -0
- package/dist/cli/permissions/hq.permissions.descriptor.d.ts +9 -0
- package/dist/cli/permissions/hq.permissions.descriptor.d.ts.map +1 -0
- package/dist/cli/permissions/hq.permissions.descriptor.js +25 -0
- package/dist/cli/permissions/hq.permissions.descriptor.js.map +1 -0
- package/dist/cli/permissions/hq.permissions.impl.d.ts +3 -0
- package/dist/cli/permissions/hq.permissions.impl.d.ts.map +1 -0
- package/dist/cli/permissions/hq.permissions.impl.js +113 -0
- package/dist/cli/permissions/hq.permissions.impl.js.map +1 -0
- package/dist/cli/plugin.d.ts +3 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +77 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/schemas/input.d.ts +117 -0
- package/dist/cli/schemas/input.d.ts.map +1 -0
- package/dist/cli/schemas/input.js +66 -0
- package/dist/cli/schemas/input.js.map +1 -0
- package/dist/cli/service/hq.service.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/service/hq.service.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/service/hq.service.cli-group.descriptor.js +12 -0
- package/dist/cli/service/hq.service.cli-group.descriptor.js.map +1 -0
- package/dist/cli/service/hq.service.list.descriptor.d.ts +16 -0
- package/dist/cli/service/hq.service.list.descriptor.d.ts.map +1 -0
- package/dist/cli/service/hq.service.list.descriptor.js +13 -0
- package/dist/cli/service/hq.service.list.descriptor.js.map +1 -0
- package/dist/cli/service/hq.service.list.impl.d.ts +7 -0
- package/dist/cli/service/hq.service.list.impl.d.ts.map +1 -0
- package/dist/cli/service/hq.service.list.impl.js +31 -0
- package/dist/cli/service/hq.service.list.impl.js.map +1 -0
- package/dist/cli/service/hq.service.manage.descriptor.d.ts +25 -0
- package/dist/cli/service/hq.service.manage.descriptor.d.ts.map +1 -0
- package/dist/cli/service/hq.service.manage.descriptor.js +23 -0
- package/dist/cli/service/hq.service.manage.descriptor.js.map +1 -0
- package/dist/cli/service/hq.service.manage.impl.d.ts +7 -0
- package/dist/cli/service/hq.service.manage.impl.d.ts.map +1 -0
- package/dist/cli/service/hq.service.manage.impl.js +64 -0
- package/dist/cli/service/hq.service.manage.impl.js.map +1 -0
- package/dist/cli/service/hq.service.register.descriptor.d.ts +21 -0
- package/dist/cli/service/hq.service.register.descriptor.d.ts.map +1 -0
- package/dist/cli/service/hq.service.register.descriptor.js +20 -0
- package/dist/cli/service/hq.service.register.descriptor.js.map +1 -0
- package/dist/cli/service/hq.service.register.impl.d.ts +7 -0
- package/dist/cli/service/hq.service.register.impl.d.ts.map +1 -0
- package/dist/cli/service/hq.service.register.impl.js +35 -0
- package/dist/cli/service/hq.service.register.impl.js.map +1 -0
- package/dist/cli/setup/hq.setup.descriptor.d.ts +9 -0
- package/dist/cli/setup/hq.setup.descriptor.d.ts.map +1 -0
- package/dist/cli/setup/hq.setup.descriptor.js +22 -0
- package/dist/cli/setup/hq.setup.descriptor.js.map +1 -0
- package/dist/cli/setup/hq.setup.impl.d.ts +7 -0
- package/dist/cli/setup/hq.setup.impl.d.ts.map +1 -0
- package/dist/cli/setup/hq.setup.impl.js +57 -0
- package/dist/cli/setup/hq.setup.impl.js.map +1 -0
- package/dist/cli/setup/index.d.ts +2 -0
- package/dist/cli/setup/index.d.ts.map +1 -0
- package/dist/cli/setup/index.js +2 -0
- package/dist/cli/setup/index.js.map +1 -0
- package/dist/cli/surface/hq.surface.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/surface/hq.surface.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/surface/hq.surface.cli-group.descriptor.js +12 -0
- package/dist/cli/surface/hq.surface.cli-group.descriptor.js.map +1 -0
- package/dist/cli/surface/hq.surface.list.descriptor.d.ts +20 -0
- package/dist/cli/surface/hq.surface.list.descriptor.d.ts.map +1 -0
- package/dist/cli/surface/hq.surface.list.descriptor.js +20 -0
- package/dist/cli/surface/hq.surface.list.descriptor.js.map +1 -0
- package/dist/cli/surface/hq.surface.list.impl.d.ts +7 -0
- package/dist/cli/surface/hq.surface.list.impl.d.ts.map +1 -0
- package/dist/cli/surface/hq.surface.list.impl.js +35 -0
- package/dist/cli/surface/hq.surface.list.impl.js.map +1 -0
- package/dist/cli/surface/hq.surface.resolve.descriptor.d.ts +22 -0
- package/dist/cli/surface/hq.surface.resolve.descriptor.d.ts.map +1 -0
- package/dist/cli/surface/hq.surface.resolve.descriptor.js +20 -0
- package/dist/cli/surface/hq.surface.resolve.descriptor.js.map +1 -0
- package/dist/cli/surface/hq.surface.resolve.impl.d.ts +7 -0
- package/dist/cli/surface/hq.surface.resolve.impl.d.ts.map +1 -0
- package/dist/cli/surface/hq.surface.resolve.impl.js +29 -0
- package/dist/cli/surface/hq.surface.resolve.impl.js.map +1 -0
- package/dist/client/friction/index.d.ts +58 -0
- package/dist/client/friction/index.d.ts.map +1 -0
- package/dist/client/friction/index.js +146 -0
- package/dist/client/friction/index.js.map +1 -0
- package/dist/client/friction.client.descriptor.d.ts +14 -0
- package/dist/client/friction.client.descriptor.d.ts.map +1 -0
- package/dist/client/friction.client.descriptor.js +14 -0
- package/dist/client/friction.client.descriptor.js.map +1 -0
- package/dist/client/hq.client.descriptor.d.ts +14 -0
- package/dist/client/hq.client.descriptor.d.ts.map +1 -0
- package/dist/client/hq.client.descriptor.js +14 -0
- package/dist/client/hq.client.descriptor.js.map +1 -0
- package/dist/client/index.d.ts +95 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +144 -0
- package/dist/client/index.js.map +1 -0
- package/dist/config/hq-friction.config.descriptor.d.ts +227 -0
- package/dist/config/hq-friction.config.descriptor.d.ts.map +1 -0
- package/dist/config/hq-friction.config.descriptor.js +116 -0
- package/dist/config/hq-friction.config.descriptor.js.map +1 -0
- package/dist/dashboard.d.ts +133 -0
- package/dist/dashboard.d.ts.map +1 -0
- package/dist/dashboard.js +371 -0
- package/dist/dashboard.js.map +1 -0
- package/dist/docs/hq.machines.docs.descriptor.d.ts +22 -0
- package/dist/docs/hq.machines.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/hq.machines.docs.descriptor.js +65 -0
- package/dist/docs/hq.machines.docs.descriptor.js.map +1 -0
- package/dist/docs/hq.sessions.docs.descriptor.d.ts +22 -0
- package/dist/docs/hq.sessions.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/hq.sessions.docs.descriptor.js +74 -0
- package/dist/docs/hq.sessions.docs.descriptor.js.map +1 -0
- package/dist/docs/hq.surfaces.docs.descriptor.d.ts +38 -0
- package/dist/docs/hq.surfaces.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/hq.surfaces.docs.descriptor.js +161 -0
- package/dist/docs/hq.surfaces.docs.descriptor.js.map +1 -0
- package/dist/docs/hq.terminal.docs.descriptor.d.ts +22 -0
- package/dist/docs/hq.terminal.docs.descriptor.d.ts.map +1 -0
- package/dist/docs/hq.terminal.docs.descriptor.js +86 -0
- package/dist/docs/hq.terminal.docs.descriptor.js.map +1 -0
- package/dist/friction/clusters.d.ts +23 -0
- package/dist/friction/clusters.d.ts.map +1 -0
- package/dist/friction/clusters.js +56 -0
- package/dist/friction/clusters.js.map +1 -0
- package/dist/friction/fingerprint.d.ts +56 -0
- package/dist/friction/fingerprint.d.ts.map +1 -0
- package/dist/friction/fingerprint.js +113 -0
- package/dist/friction/fingerprint.js.map +1 -0
- package/dist/friction/friction-dispositions.record.descriptor.d.ts +4 -0
- package/dist/friction/friction-dispositions.record.descriptor.d.ts.map +1 -0
- package/dist/friction/friction-dispositions.record.descriptor.js +36 -0
- package/dist/friction/friction-dispositions.record.descriptor.js.map +1 -0
- package/dist/friction/friction-signals.record.descriptor.d.ts +12 -0
- package/dist/friction/friction-signals.record.descriptor.d.ts.map +1 -0
- package/dist/friction/friction-signals.record.descriptor.js +52 -0
- package/dist/friction/friction-signals.record.descriptor.js.map +1 -0
- package/dist/friction/intake.d.ts +79 -0
- package/dist/friction/intake.d.ts.map +1 -0
- package/dist/friction/intake.js +459 -0
- package/dist/friction/intake.js.map +1 -0
- package/dist/friction/jobs/friction-clusters.job.descriptor.d.ts +71 -0
- package/dist/friction/jobs/friction-clusters.job.descriptor.d.ts.map +1 -0
- package/dist/friction/jobs/friction-clusters.job.descriptor.js +34 -0
- package/dist/friction/jobs/friction-clusters.job.descriptor.js.map +1 -0
- package/dist/friction/jobs/friction-clusters.job.impl.d.ts +22 -0
- package/dist/friction/jobs/friction-clusters.job.impl.d.ts.map +1 -0
- package/dist/friction/jobs/friction-clusters.job.impl.js +33 -0
- package/dist/friction/jobs/friction-clusters.job.impl.js.map +1 -0
- package/dist/friction/promote-input.d.ts +37 -0
- package/dist/friction/promote-input.d.ts.map +1 -0
- package/dist/friction/promote-input.js +58 -0
- package/dist/friction/promote-input.js.map +1 -0
- package/dist/friction/promotion-visibility.d.ts +34 -0
- package/dist/friction/promotion-visibility.d.ts.map +1 -0
- package/dist/friction/promotion-visibility.js +57 -0
- package/dist/friction/promotion-visibility.js.map +1 -0
- package/dist/friction/read.d.ts +21 -0
- package/dist/friction/read.d.ts.map +1 -0
- package/dist/friction/read.js +23 -0
- package/dist/friction/read.js.map +1 -0
- package/dist/friction/schemas/disposition.d.ts +42 -0
- package/dist/friction/schemas/disposition.d.ts.map +1 -0
- package/dist/friction/schemas/disposition.js +22 -0
- package/dist/friction/schemas/disposition.js.map +1 -0
- package/dist/friction/schemas/intake.d.ts +167 -0
- package/dist/friction/schemas/intake.d.ts.map +1 -0
- package/dist/friction/schemas/intake.js +69 -0
- package/dist/friction/schemas/intake.js.map +1 -0
- package/dist/friction/schemas/report.d.ts +138 -0
- package/dist/friction/schemas/report.d.ts.map +1 -0
- package/dist/friction/schemas/report.js +63 -0
- package/dist/friction/schemas/report.js.map +1 -0
- package/dist/friction/schemas/signal.d.ts +170 -0
- package/dist/friction/schemas/signal.d.ts.map +1 -0
- package/dist/friction/schemas/signal.js +77 -0
- package/dist/friction/schemas/signal.js.map +1 -0
- package/dist/friction/signal-recorded.event.descriptor.d.ts +53 -0
- package/dist/friction/signal-recorded.event.descriptor.d.ts.map +1 -0
- package/dist/friction/signal-recorded.event.descriptor.js +38 -0
- package/dist/friction/signal-recorded.event.descriptor.js.map +1 -0
- package/dist/friction/store.d.ts +108 -0
- package/dist/friction/store.d.ts.map +1 -0
- package/dist/friction/store.js +461 -0
- package/dist/friction/store.js.map +1 -0
- package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.d.ts +8 -0
- package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.d.ts.map +1 -0
- package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.js +18 -0
- package/dist/host-guidance/descriptors/accessibility.host-permission-guidance.descriptor.js.map +1 -0
- package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.d.ts +8 -0
- package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.d.ts.map +1 -0
- package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.js +18 -0
- package/dist/host-guidance/descriptors/disk.host-permission-guidance.descriptor.js.map +1 -0
- package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.d.ts +8 -0
- package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.d.ts.map +1 -0
- package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.js +14 -0
- package/dist/host-guidance/descriptors/homebrew.host-health-check.descriptor.js.map +1 -0
- package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.d.ts +8 -0
- package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.d.ts.map +1 -0
- package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.js +18 -0
- package/dist/host-guidance/descriptors/microphone.host-permission-guidance.descriptor.js.map +1 -0
- package/dist/host-guidance/kinds/host-health-check.kind.d.ts +17 -0
- package/dist/host-guidance/kinds/host-health-check.kind.d.ts.map +1 -0
- package/dist/host-guidance/kinds/host-health-check.kind.js +22 -0
- package/dist/host-guidance/kinds/host-health-check.kind.js.map +1 -0
- package/dist/host-guidance/kinds/host-permission-guidance.kind.d.ts +17 -0
- package/dist/host-guidance/kinds/host-permission-guidance.kind.d.ts.map +1 -0
- package/dist/host-guidance/kinds/host-permission-guidance.kind.js +22 -0
- package/dist/host-guidance/kinds/host-permission-guidance.kind.js.map +1 -0
- package/dist/host-guidance/registry.d.ts +16 -0
- package/dist/host-guidance/registry.d.ts.map +1 -0
- package/dist/host-guidance/registry.js +24 -0
- package/dist/host-guidance/registry.js.map +1 -0
- package/dist/hq.cloud.plugin.d.ts +3 -0
- package/dist/hq.cloud.plugin.d.ts.map +1 -0
- package/dist/hq.cloud.plugin.js +40 -0
- package/dist/hq.cloud.plugin.js.map +1 -0
- package/dist/hq.consumer.plugin.d.ts +3 -0
- package/dist/hq.consumer.plugin.d.ts.map +1 -0
- package/dist/hq.consumer.plugin.js +15 -0
- package/dist/hq.consumer.plugin.js.map +1 -0
- package/dist/hq.plugin.d.ts +9 -0
- package/dist/hq.plugin.d.ts.map +1 -0
- package/dist/hq.plugin.js +99 -0
- package/dist/hq.plugin.js.map +1 -0
- package/dist/installers/builtin/ai-runtimes/installer.d.ts +21 -0
- package/dist/installers/builtin/ai-runtimes/installer.d.ts.map +1 -0
- package/dist/installers/builtin/ai-runtimes/installer.js +244 -0
- package/dist/installers/builtin/ai-runtimes/installer.js.map +1 -0
- package/dist/installers/builtin/index.d.ts +9 -0
- package/dist/installers/builtin/index.d.ts.map +1 -0
- package/dist/installers/builtin/index.js +15 -0
- package/dist/installers/builtin/index.js.map +1 -0
- package/dist/installers/builtin/language-servers/installer.d.ts +18 -0
- package/dist/installers/builtin/language-servers/installer.d.ts.map +1 -0
- package/dist/installers/builtin/language-servers/installer.js +139 -0
- package/dist/installers/builtin/language-servers/installer.js.map +1 -0
- package/dist/installers/builtin/system-deps/installer.d.ts +8 -0
- package/dist/installers/builtin/system-deps/installer.d.ts.map +1 -0
- package/dist/installers/builtin/system-deps/installer.js +78 -0
- package/dist/installers/builtin/system-deps/installer.js.map +1 -0
- package/dist/installers/compatibility.consumer.plugin.d.ts +3 -0
- package/dist/installers/compatibility.consumer.plugin.d.ts.map +1 -0
- package/dist/installers/compatibility.consumer.plugin.js +26 -0
- package/dist/installers/compatibility.consumer.plugin.js.map +1 -0
- package/dist/installers/core/index.d.ts +3 -0
- package/dist/installers/core/index.d.ts.map +1 -0
- package/dist/installers/core/index.js +3 -0
- package/dist/installers/core/index.js.map +1 -0
- package/dist/installers/core/installer-result.d.ts +10 -0
- package/dist/installers/core/installer-result.d.ts.map +1 -0
- package/dist/installers/core/installer-result.js +14 -0
- package/dist/installers/core/installer-result.js.map +1 -0
- package/dist/installers/core/installer-runtime.d.ts +18 -0
- package/dist/installers/core/installer-runtime.d.ts.map +1 -0
- package/dist/installers/core/installer-runtime.js +5 -0
- package/dist/installers/core/installer-runtime.js.map +1 -0
- package/dist/installers/core/platform.d.ts +6 -0
- package/dist/installers/core/platform.d.ts.map +1 -0
- package/dist/installers/core/platform.js +19 -0
- package/dist/installers/core/platform.js.map +1 -0
- package/dist/installers/core/workspace.d.ts +4 -0
- package/dist/installers/core/workspace.d.ts.map +1 -0
- package/dist/installers/core/workspace.js +11 -0
- package/dist/installers/core/workspace.js.map +1 -0
- package/dist/installers/index.d.ts +6 -0
- package/dist/installers/index.d.ts.map +1 -0
- package/dist/installers/index.js +6 -0
- package/dist/installers/index.js.map +1 -0
- package/dist/installers/schemas/index.d.ts +2 -0
- package/dist/installers/schemas/index.d.ts.map +1 -0
- package/dist/installers/schemas/index.js +2 -0
- package/dist/installers/schemas/index.js.map +1 -0
- package/dist/installers/schemas/platform.d.ts +10 -0
- package/dist/installers/schemas/platform.d.ts.map +1 -0
- package/dist/installers/schemas/platform.js +9 -0
- package/dist/installers/schemas/platform.js.map +1 -0
- package/dist/installers/schemas/types.d.ts +4 -0
- package/dist/installers/schemas/types.d.ts.map +1 -0
- package/dist/installers/schemas/types.js +4 -0
- package/dist/installers/schemas/types.js.map +1 -0
- package/dist/os-wall/channels.wall.d.ts +9 -0
- package/dist/os-wall/channels.wall.d.ts.map +1 -0
- package/dist/os-wall/channels.wall.js +9 -0
- package/dist/os-wall/channels.wall.js.map +1 -0
- package/dist/os-wall/surface-store.wall.d.ts +3 -0
- package/dist/os-wall/surface-store.wall.d.ts.map +1 -0
- package/dist/os-wall/surface-store.wall.js +3 -0
- package/dist/os-wall/surface-store.wall.js.map +1 -0
- package/dist/runtime-path.d.ts +7 -0
- package/dist/runtime-path.d.ts.map +1 -0
- package/dist/runtime-path.js +7 -0
- package/dist/runtime-path.js.map +1 -0
- package/dist/schemas/host-guidance.d.ts +48 -0
- package/dist/schemas/host-guidance.d.ts.map +1 -0
- package/dist/schemas/host-guidance.js +48 -0
- package/dist/schemas/host-guidance.js.map +1 -0
- package/dist/services/backends/index.d.ts +24 -0
- package/dist/services/backends/index.d.ts.map +1 -0
- package/dist/services/backends/index.js +17 -0
- package/dist/services/backends/index.js.map +1 -0
- package/dist/services/builtin/index.d.ts +78 -0
- package/dist/services/builtin/index.d.ts.map +1 -0
- package/dist/services/builtin/index.js +44 -0
- package/dist/services/builtin/index.js.map +1 -0
- package/dist/services/descriptors/vibes-bridge.os-service.descriptor.d.ts +8 -0
- package/dist/services/descriptors/vibes-bridge.os-service.descriptor.d.ts.map +1 -0
- package/dist/services/descriptors/vibes-bridge.os-service.descriptor.js +21 -0
- package/dist/services/descriptors/vibes-bridge.os-service.descriptor.js.map +1 -0
- package/dist/services/descriptors/vibes-mcp.os-service.descriptor.d.ts +8 -0
- package/dist/services/descriptors/vibes-mcp.os-service.descriptor.d.ts.map +1 -0
- package/dist/services/descriptors/vibes-mcp.os-service.descriptor.js +20 -0
- package/dist/services/descriptors/vibes-mcp.os-service.descriptor.js.map +1 -0
- package/dist/services/descriptors/vibes-pm.os-service.descriptor.d.ts +8 -0
- package/dist/services/descriptors/vibes-pm.os-service.descriptor.d.ts.map +1 -0
- package/dist/services/descriptors/vibes-pm.os-service.descriptor.js +20 -0
- package/dist/services/descriptors/vibes-pm.os-service.descriptor.js.map +1 -0
- package/dist/services/index.d.ts +14 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +12 -0
- package/dist/services/index.js.map +1 -0
- package/dist/services/kinds/os-service.kind.d.ts +19 -0
- package/dist/services/kinds/os-service.kind.d.ts.map +1 -0
- package/dist/services/kinds/os-service.kind.js +24 -0
- package/dist/services/kinds/os-service.kind.js.map +1 -0
- package/dist/services/registry.d.ts +45 -0
- package/dist/services/registry.d.ts.map +1 -0
- package/dist/services/registry.js +141 -0
- package/dist/services/registry.js.map +1 -0
- package/dist/services/schemas/service.d.ts +79 -0
- package/dist/services/schemas/service.d.ts.map +1 -0
- package/dist/services/schemas/service.js +82 -0
- package/dist/services/schemas/service.js.map +1 -0
- package/dist/svelte/report/ReportProblemDialog.svelte +205 -0
- package/dist/svelte/report/ReportProblemDialog.svelte.d.ts +5 -0
- package/dist/svelte/report/ReportProblemDialog.svelte.d.ts.map +1 -0
- package/dist/svelte/report/capture-context.d.ts +61 -0
- package/dist/svelte/report/capture-context.d.ts.map +1 -0
- package/dist/svelte/report/capture-context.js +100 -0
- package/dist/svelte/report/report.plugin.d.ts +68 -0
- package/dist/svelte/report/report.plugin.d.ts.map +1 -0
- package/dist/svelte/report/report.plugin.js +109 -0
- package/dist/svelte/report/severity.d.ts +32 -0
- package/dist/svelte/report/severity.d.ts.map +1 -0
- package/dist/svelte/report/severity.js +13 -0
- package/dist/tools/applet/applet.schemas.d.ts +6 -0
- package/dist/tools/applet/applet.schemas.d.ts.map +1 -0
- package/dist/tools/applet/applet.schemas.js +6 -0
- package/dist/tools/applet/applet.schemas.js.map +1 -0
- package/dist/utils/exec.d.ts +22 -0
- package/dist/utils/exec.d.ts.map +1 -0
- package/dist/utils/exec.js +38 -0
- package/dist/utils/exec.js.map +1 -0
- package/dist/utils/fs.d.ts +10 -0
- package/dist/utils/fs.d.ts.map +1 -0
- package/dist/utils/fs.js +25 -0
- package/dist/utils/fs.js.map +1 -0
- package/package.json +268 -4
|
@@ -0,0 +1,371 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OS Dashboard Projections
|
|
3
|
+
*
|
|
4
|
+
* Dashboard helpers for rendering surface artifacts and machine info.
|
|
5
|
+
* Originally from vibesos-system, migrated to os.
|
|
6
|
+
*/
|
|
7
|
+
// Keep the server store behind a dynamic wall so browser dashboard consumers do
|
|
8
|
+
// not load storage adapters.
|
|
9
|
+
async function listSurfaceNotifications(...args) {
|
|
10
|
+
const mod = await import('@vibesdotdev/os/surface');
|
|
11
|
+
return mod.listSurfaceNotifications(...args);
|
|
12
|
+
}
|
|
13
|
+
async function getSurfaceNotification(...args) {
|
|
14
|
+
const mod = await import('@vibesdotdev/os/surface');
|
|
15
|
+
return mod.getSurfaceNotification(...args);
|
|
16
|
+
}
|
|
17
|
+
import { selectAppletArtifactIndex } from '@vibesdotdev/applets';
|
|
18
|
+
import * as z from 'zod/v4';
|
|
19
|
+
export const DashboardArtifactStatusSchema = z.enum([
|
|
20
|
+
'pending',
|
|
21
|
+
'complete',
|
|
22
|
+
'error',
|
|
23
|
+
'approved',
|
|
24
|
+
'discarded'
|
|
25
|
+
]);
|
|
26
|
+
/**
|
|
27
|
+
* Map a surface notification to a dashboard artifact summary
|
|
28
|
+
*/
|
|
29
|
+
export function mapDashboardArtifact(notification) {
|
|
30
|
+
// Authoritative server-stamped provenance when present; the brittle
|
|
31
|
+
// `channelId.split('-')[0]` parse is now only a legacy fallback.
|
|
32
|
+
const agentId = notification.agentId ?? notification.channelId.split('-')[0] ?? 'unknown';
|
|
33
|
+
const artifacts = notification.artifacts || [];
|
|
34
|
+
const selectedIndex = selectAppletArtifactIndex(notification);
|
|
35
|
+
const selectedArtifact = selectedIndex >= 0 ? artifacts[selectedIndex] : undefined;
|
|
36
|
+
const previewArtifact = selectedArtifact ?? artifacts[0];
|
|
37
|
+
const artifactType = selectedArtifact?.type ?? artifacts[0]?.type ?? 'note';
|
|
38
|
+
return {
|
|
39
|
+
id: notification.id,
|
|
40
|
+
artifactType,
|
|
41
|
+
status: DashboardArtifactStatusSchema.parse(notification.status),
|
|
42
|
+
agentId,
|
|
43
|
+
ownerType: notification.ownerType,
|
|
44
|
+
ownerId: notification.ownerId,
|
|
45
|
+
summary: notification.summary,
|
|
46
|
+
createdAt: notification.createdAt,
|
|
47
|
+
sessionId: notification.sessionId ?? null,
|
|
48
|
+
componentRef: previewArtifact?.componentRef ?? null,
|
|
49
|
+
source: previewArtifact?.source ?? null,
|
|
50
|
+
sourceFormat: previewArtifact?.sourceFormat ?? null,
|
|
51
|
+
browserRuntime: previewArtifact?.browserRuntime ?? false,
|
|
52
|
+
content: previewArtifact?.content ?? {},
|
|
53
|
+
actions: notification.actions.map((a) => ({
|
|
54
|
+
label: a.label,
|
|
55
|
+
command: a.command,
|
|
56
|
+
args: a.args ?? []
|
|
57
|
+
})),
|
|
58
|
+
scope: notification.scope
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function countLabel(count, singular, plural = `${singular}s`) {
|
|
62
|
+
return `${count} ${count === 1 ? singular : plural}`;
|
|
63
|
+
}
|
|
64
|
+
function formatSourceKind(sourceType) {
|
|
65
|
+
return sourceType.split(/[-_]/g).filter(Boolean).join(' ');
|
|
66
|
+
}
|
|
67
|
+
function stimulusNoun(sourceType) {
|
|
68
|
+
if (sourceType.includes('schedule'))
|
|
69
|
+
return 'scheduled task';
|
|
70
|
+
if (sourceType.includes('webhook'))
|
|
71
|
+
return 'webhook delivery';
|
|
72
|
+
if (sourceType.includes('integration'))
|
|
73
|
+
return 'integration event';
|
|
74
|
+
if (sourceType.includes('message') || sourceType.includes('channel'))
|
|
75
|
+
return 'message';
|
|
76
|
+
if (sourceType.includes('system'))
|
|
77
|
+
return 'system event';
|
|
78
|
+
return `${formatSourceKind(sourceType)} event`;
|
|
79
|
+
}
|
|
80
|
+
function identityValues(agent) {
|
|
81
|
+
return [agent.id, agent.agentId, agent.deploymentId, agent.name.toLowerCase()].filter((value) => Boolean(value));
|
|
82
|
+
}
|
|
83
|
+
function isDefaultAgent(agent, defaultAgentId) {
|
|
84
|
+
const normalizedDefault = defaultAgentId.toLowerCase();
|
|
85
|
+
return identityValues(agent).some((value) => value.toLowerCase() === normalizedDefault);
|
|
86
|
+
}
|
|
87
|
+
function sourceHasAgent(source, agent) {
|
|
88
|
+
const sourceAgentIds = new Set(source.agentIds);
|
|
89
|
+
return (identityValues(agent).some((value) => sourceAgentIds.has(value)) ||
|
|
90
|
+
(agent.eventSourceIds ?? []).includes(source.id));
|
|
91
|
+
}
|
|
92
|
+
function statusLabel(status) {
|
|
93
|
+
if (status === 'needs_agent')
|
|
94
|
+
return 'Needs agent';
|
|
95
|
+
if (status === 'agent_offline')
|
|
96
|
+
return 'Agent offline';
|
|
97
|
+
return status.charAt(0).toUpperCase() + status.slice(1);
|
|
98
|
+
}
|
|
99
|
+
function agentCanReceiveEvents(agent) {
|
|
100
|
+
return agent.status === undefined || agent.status === 'active' || agent.status === 'idle';
|
|
101
|
+
}
|
|
102
|
+
function policyStatus(source, boundAgents) {
|
|
103
|
+
if (source.status === 'error')
|
|
104
|
+
return 'error';
|
|
105
|
+
if (source.status === 'disconnected')
|
|
106
|
+
return 'disconnected';
|
|
107
|
+
if (source.status === 'paused')
|
|
108
|
+
return 'paused';
|
|
109
|
+
if (boundAgents.length === 0)
|
|
110
|
+
return 'needs_agent';
|
|
111
|
+
if (!boundAgents.some(agentCanReceiveEvents))
|
|
112
|
+
return 'agent_offline';
|
|
113
|
+
return 'live';
|
|
114
|
+
}
|
|
115
|
+
function policyHeadline(status, source, primaryAgentName) {
|
|
116
|
+
if (status === 'live') {
|
|
117
|
+
return primaryAgentName ? `Routes to ${primaryAgentName}` : 'Routes to bound agents';
|
|
118
|
+
}
|
|
119
|
+
if (status === 'needs_agent')
|
|
120
|
+
return 'Not routed to an agent';
|
|
121
|
+
if (status === 'agent_offline')
|
|
122
|
+
return primaryAgentName ? `${primaryAgentName} is offline` : 'Bound agent is offline';
|
|
123
|
+
if (status === 'paused')
|
|
124
|
+
return 'Paused before execution';
|
|
125
|
+
if (status === 'disconnected')
|
|
126
|
+
return 'Integration disconnected';
|
|
127
|
+
if (status === 'error')
|
|
128
|
+
return `${source.name} needs repair`;
|
|
129
|
+
return 'Not ready';
|
|
130
|
+
}
|
|
131
|
+
function policyDetail(status, source, primaryAgentName) {
|
|
132
|
+
const noun = stimulusNoun(source.sourceType);
|
|
133
|
+
if (status === 'live') {
|
|
134
|
+
return primaryAgentName
|
|
135
|
+
? `Events from ${source.name} feed ${primaryAgentName}; each ${noun} can become a message, approval request, task, or generated artifact depending on policy.`
|
|
136
|
+
: `Events from ${source.name} feed live agents; each ${noun} can be triaged and routed through HQ surfaces.`;
|
|
137
|
+
}
|
|
138
|
+
if (status === 'needs_agent') {
|
|
139
|
+
return `${source.name} is configured, but no live-agent deployment is bound to this source.`;
|
|
140
|
+
}
|
|
141
|
+
if (status === 'agent_offline') {
|
|
142
|
+
return primaryAgentName
|
|
143
|
+
? `${source.name} is bound to ${primaryAgentName}, but that agent is not currently receiving events.`
|
|
144
|
+
: `${source.name} is bound, but no bound agent is currently receiving events.`;
|
|
145
|
+
}
|
|
146
|
+
if (status === 'paused') {
|
|
147
|
+
return `${source.name} is paused; inbound ${noun}s are intentionally held before agent execution.`;
|
|
148
|
+
}
|
|
149
|
+
if (status === 'disconnected') {
|
|
150
|
+
return `${source.name} is disconnected; restore the integration before events can reach agents.`;
|
|
151
|
+
}
|
|
152
|
+
return `${source.name} is reporting an error; repair the source before trusting this trigger.`;
|
|
153
|
+
}
|
|
154
|
+
function nextPolicyAction(status) {
|
|
155
|
+
if (status === 'live')
|
|
156
|
+
return 'Monitor delivery and review agent actions.';
|
|
157
|
+
if (status === 'needs_agent')
|
|
158
|
+
return 'Bind Marshal or another live agent.';
|
|
159
|
+
if (status === 'agent_offline')
|
|
160
|
+
return 'Start or repair the bound agent.';
|
|
161
|
+
if (status === 'paused')
|
|
162
|
+
return 'Resume when the source policy is ready.';
|
|
163
|
+
if (status === 'disconnected')
|
|
164
|
+
return 'Reconnect the integration.';
|
|
165
|
+
return 'Inspect and repair the source.';
|
|
166
|
+
}
|
|
167
|
+
function bindingActionForStatus(status) {
|
|
168
|
+
if (status === 'needs_agent')
|
|
169
|
+
return 'bind_default_agent';
|
|
170
|
+
if (status === 'agent_offline')
|
|
171
|
+
return 'start_agent';
|
|
172
|
+
if (status === 'paused')
|
|
173
|
+
return 'resume_source';
|
|
174
|
+
if (status === 'live')
|
|
175
|
+
return 'review_live_route';
|
|
176
|
+
return 'repair_source';
|
|
177
|
+
}
|
|
178
|
+
function bindingIntentTitle(action, source, targetAgentName) {
|
|
179
|
+
if (action === 'bind_default_agent')
|
|
180
|
+
return `Bind ${targetAgentName} to ${source.name}`;
|
|
181
|
+
if (action === 'start_agent')
|
|
182
|
+
return `Start ${targetAgentName} for ${source.name}`;
|
|
183
|
+
if (action === 'resume_source')
|
|
184
|
+
return `Resume ${source.name}`;
|
|
185
|
+
if (action === 'repair_source')
|
|
186
|
+
return `Repair ${source.name}`;
|
|
187
|
+
return `Review ${source.name} routing`;
|
|
188
|
+
}
|
|
189
|
+
function bindingIntentDescription(action, source, targetAgentName) {
|
|
190
|
+
const noun = stimulusNoun(source.sourceType);
|
|
191
|
+
if (action === 'bind_default_agent') {
|
|
192
|
+
return `${source.name} is active but has no agent binding. Review a plan before new ${noun}s route to ${targetAgentName}.`;
|
|
193
|
+
}
|
|
194
|
+
if (action === 'start_agent') {
|
|
195
|
+
return `${source.name} is bound to ${targetAgentName}, but the agent is offline. Review a start plan before inbound ${noun}s execute.`;
|
|
196
|
+
}
|
|
197
|
+
if (action === 'resume_source') {
|
|
198
|
+
return `${source.name} is paused. Review the resume plan and guardrails before inbound ${noun}s execute again.`;
|
|
199
|
+
}
|
|
200
|
+
if (action === 'repair_source') {
|
|
201
|
+
return `${source.name} is not delivering events reliably. Review the repair plan before trusting this trigger.`;
|
|
202
|
+
}
|
|
203
|
+
return `${source.name} already routes to ${targetAgentName}. Review the current route, outcomes, and guardrails before changing the policy.`;
|
|
204
|
+
}
|
|
205
|
+
function bindingIntentCta(action) {
|
|
206
|
+
if (action === 'bind_default_agent')
|
|
207
|
+
return 'Request binding review';
|
|
208
|
+
if (action === 'start_agent')
|
|
209
|
+
return 'Request start review';
|
|
210
|
+
if (action === 'resume_source')
|
|
211
|
+
return 'Request resume review';
|
|
212
|
+
if (action === 'repair_source')
|
|
213
|
+
return 'Request repair review';
|
|
214
|
+
return 'Request route review';
|
|
215
|
+
}
|
|
216
|
+
function resolveDashboardStimulusBindingIntent(args) {
|
|
217
|
+
const action = bindingActionForStatus(args.status);
|
|
218
|
+
const targetAgentId = args.primaryAgentId ?? args.defaultAgentId;
|
|
219
|
+
const targetAgentName = args.primaryAgentName ?? args.defaultAgentName;
|
|
220
|
+
let outcomes;
|
|
221
|
+
if (action === 'bind_default_agent') {
|
|
222
|
+
outcomes = ['Attach source to target agent', 'Keep source identity on every event'];
|
|
223
|
+
}
|
|
224
|
+
else if (action === 'start_agent') {
|
|
225
|
+
outcomes = ['Start target agent', 'Verify source delivery after heartbeat'];
|
|
226
|
+
}
|
|
227
|
+
else if (action === 'repair_source') {
|
|
228
|
+
outcomes = ['Restore source delivery', 'Verify credentials and provider health'];
|
|
229
|
+
}
|
|
230
|
+
else if (action === 'resume_source') {
|
|
231
|
+
outcomes = ['Resume event delivery', 'Confirm guardrails before execution'];
|
|
232
|
+
}
|
|
233
|
+
else {
|
|
234
|
+
outcomes = ['Audit current routing', 'Confirm outcomes and guardrails'];
|
|
235
|
+
}
|
|
236
|
+
const plan = {
|
|
237
|
+
kind: 'hq.source.binding',
|
|
238
|
+
action,
|
|
239
|
+
sourceId: args.source.id,
|
|
240
|
+
sourceName: args.source.name,
|
|
241
|
+
sourceType: args.source.sourceType,
|
|
242
|
+
status: args.status,
|
|
243
|
+
targetAgentId,
|
|
244
|
+
targetAgentName,
|
|
245
|
+
requiredReview: true,
|
|
246
|
+
outcomes,
|
|
247
|
+
evidence: args.evidence
|
|
248
|
+
};
|
|
249
|
+
return {
|
|
250
|
+
sourceId: args.source.id,
|
|
251
|
+
sourceName: args.source.name,
|
|
252
|
+
sourceType: args.source.sourceType,
|
|
253
|
+
action,
|
|
254
|
+
title: bindingIntentTitle(action, args.source, targetAgentName),
|
|
255
|
+
description: bindingIntentDescription(action, args.source, targetAgentName),
|
|
256
|
+
ctaLabel: bindingIntentCta(action),
|
|
257
|
+
requestedBy: 'marshal',
|
|
258
|
+
targetAgentId,
|
|
259
|
+
targetAgentName,
|
|
260
|
+
plan,
|
|
261
|
+
evidence: args.evidence
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
function policyOutcomes(source, hasUserMessageSurface, hasPlanConfirmationSurface) {
|
|
265
|
+
const outcomes = [`Triage each ${stimulusNoun(source.sourceType)}`];
|
|
266
|
+
if (hasUserMessageSurface)
|
|
267
|
+
outcomes.push('Send user-visible messages');
|
|
268
|
+
if (hasPlanConfirmationSurface)
|
|
269
|
+
outcomes.push('Request plan confirmations');
|
|
270
|
+
outcomes.push('Create or update workboard tasks');
|
|
271
|
+
return outcomes;
|
|
272
|
+
}
|
|
273
|
+
function policyGuardrails(status, hasUserMessageSurface, hasPlanConfirmationSurface) {
|
|
274
|
+
if (status !== 'live') {
|
|
275
|
+
return ['No agent action should run until this source is active, bound, and receiving events.'];
|
|
276
|
+
}
|
|
277
|
+
const guardrails = ['Every inbound event keeps its source identity attached.'];
|
|
278
|
+
if (hasPlanConfirmationSurface) {
|
|
279
|
+
guardrails.push('Risky or irreversible plans require approval before execution.');
|
|
280
|
+
}
|
|
281
|
+
if (hasUserMessageSurface) {
|
|
282
|
+
guardrails.push('Agent-to-user messages land in the workboard notification surface.');
|
|
283
|
+
}
|
|
284
|
+
return guardrails;
|
|
285
|
+
}
|
|
286
|
+
export function resolveDashboardStimulusPolicies(input) {
|
|
287
|
+
const defaultAgentId = input.defaultAgentId ?? 'marshal';
|
|
288
|
+
const defaultAgentName = input.defaultAgentName ?? 'Marshal';
|
|
289
|
+
const hasUserMessageSurface = input.hasUserMessageSurface === true;
|
|
290
|
+
const hasPlanConfirmationSurface = input.hasPlanConfirmationSurface === true;
|
|
291
|
+
return input.sources.map((source) => {
|
|
292
|
+
const boundAgents = input.agents.filter((agent) => sourceHasAgent(source, agent));
|
|
293
|
+
const primaryAgent = boundAgents.find((agent) => isDefaultAgent(agent, defaultAgentId)) ?? boundAgents[0] ?? null;
|
|
294
|
+
const status = policyStatus(source, boundAgents);
|
|
295
|
+
const primaryAgentId = primaryAgent?.agentId ?? primaryAgent?.id ?? null;
|
|
296
|
+
const eventCount = Math.max(0, source.eventCount ?? 0);
|
|
297
|
+
const evidence = [
|
|
298
|
+
`source:${source.id}`,
|
|
299
|
+
`agents:${countLabel(boundAgents.length, 'binding')}`,
|
|
300
|
+
`events:${eventCount}`
|
|
301
|
+
];
|
|
302
|
+
return {
|
|
303
|
+
sourceId: source.id,
|
|
304
|
+
sourceName: source.name,
|
|
305
|
+
sourceType: source.sourceType,
|
|
306
|
+
status,
|
|
307
|
+
statusLabel: statusLabel(status),
|
|
308
|
+
headline: policyHeadline(status, source, primaryAgent?.name ?? null),
|
|
309
|
+
detail: policyDetail(status, source, primaryAgent?.name ?? null),
|
|
310
|
+
primaryAgentId,
|
|
311
|
+
primaryAgentName: primaryAgent?.name ?? null,
|
|
312
|
+
agentCount: boundAgents.length,
|
|
313
|
+
eventCount,
|
|
314
|
+
lastEvent: source.lastEvent ?? null,
|
|
315
|
+
outcomes: policyOutcomes(source, hasUserMessageSurface, hasPlanConfirmationSurface),
|
|
316
|
+
guardrails: policyGuardrails(status, hasUserMessageSurface, hasPlanConfirmationSurface),
|
|
317
|
+
nextAction: nextPolicyAction(status),
|
|
318
|
+
evidence,
|
|
319
|
+
bindingIntent: resolveDashboardStimulusBindingIntent({
|
|
320
|
+
source,
|
|
321
|
+
status,
|
|
322
|
+
primaryAgentId,
|
|
323
|
+
primaryAgentName: primaryAgent?.name ?? null,
|
|
324
|
+
defaultAgentId,
|
|
325
|
+
defaultAgentName,
|
|
326
|
+
evidence
|
|
327
|
+
})
|
|
328
|
+
};
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Load the owner's dashboard artifacts from surface notifications. `owner` is the
|
|
333
|
+
* server-derived tenancy gate (from `actingScopeFromLocals` at the endpoint, or
|
|
334
|
+
* `SYSTEM_OWNER` for the vibes-internal Marshal surface) — only that owner's rows
|
|
335
|
+
* are returned, so the previous client-supplied `agentId` query filter is no longer
|
|
336
|
+
* an authz control.
|
|
337
|
+
*/
|
|
338
|
+
export async function loadDashboardArtifacts(runtime, owner, limit = 20) {
|
|
339
|
+
const notifications = await listSurfaceNotifications(runtime, owner);
|
|
340
|
+
return notifications
|
|
341
|
+
.map(mapDashboardArtifact)
|
|
342
|
+
.sort((a, b) => b.createdAt.localeCompare(a.createdAt))
|
|
343
|
+
.slice(0, limit);
|
|
344
|
+
}
|
|
345
|
+
/**
|
|
346
|
+
* Load one of the owner's dashboard artifacts by id from its owning surface
|
|
347
|
+
* notification. A foreign-owner artifact is invisible (`null`) → 404 upstream.
|
|
348
|
+
*/
|
|
349
|
+
export async function getDashboardArtifactById(runtime, owner, id) {
|
|
350
|
+
const notification = await getSurfaceNotification(runtime, owner, id);
|
|
351
|
+
if (!notification)
|
|
352
|
+
return null;
|
|
353
|
+
return mapDashboardArtifact(notification);
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Update the status of one of the owner's dashboard artifacts (resolves the surface
|
|
357
|
+
* notification). Owner-scoped end-to-end: a foreign-owner artifact resolves to
|
|
358
|
+
* `null` → 404 upstream, never mutating another owner's row.
|
|
359
|
+
*/
|
|
360
|
+
export async function updateDashboardArtifactStatus(runtime, owner, id, status) {
|
|
361
|
+
const existing = await getSurfaceNotification(runtime, owner, id);
|
|
362
|
+
if (!existing)
|
|
363
|
+
return null;
|
|
364
|
+
const { resolveSurfaceNotification } = await import('@vibesdotdev/os/surface');
|
|
365
|
+
await resolveSurfaceNotification(runtime, owner, id, status);
|
|
366
|
+
const updated = await getSurfaceNotification(runtime, owner, id);
|
|
367
|
+
if (!updated)
|
|
368
|
+
return null;
|
|
369
|
+
return mapDashboardArtifact(updated);
|
|
370
|
+
}
|
|
371
|
+
//# sourceMappingURL=dashboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dashboard.js","sourceRoot":"","sources":["../src/dashboard.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,gFAAgF;AAChF,6BAA6B;AAC7B,KAAK,UAAU,wBAAwB,CACtC,GAAG,IAA2D;IAE9D,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,CAAC;IACpD,OAAO,GAAG,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC;AAC9C,CAAC;AACD,KAAK,UAAU,sBAAsB,CACpC,GAAG,IAAyD;IAE5D,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,CAAC;IACpD,OAAO,GAAG,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,CAAC;AAC5C,CAAC;AAID,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,IAAI,CAAC;IAC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AAC;IACjE,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,OAAO,oBAAoB,CAAC,OAAO,CAAC,CAAC;AACtC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-flow docs for the HQ Machines surface (pairing, fleet view).
|
|
3
|
+
*/
|
|
4
|
+
declare const descriptor: {
|
|
5
|
+
kind: "docs/topic";
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
summary: string;
|
|
9
|
+
body: {
|
|
10
|
+
type: "markdown";
|
|
11
|
+
sourceType: "raw";
|
|
12
|
+
source: string;
|
|
13
|
+
};
|
|
14
|
+
parent: string;
|
|
15
|
+
order: number;
|
|
16
|
+
tags: string[];
|
|
17
|
+
surfaces: readonly ["in-app", "web"];
|
|
18
|
+
hardware: readonly ["consumer"];
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
export default descriptor;
|
|
22
|
+
//# sourceMappingURL=hq.machines.docs.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.machines.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/hq.machines.docs.descriptor.ts"],"names":[],"mappings":"AAAA;;GAEG;AA8CH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;CAgBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-flow docs for the HQ Machines surface (pairing, fleet view).
|
|
3
|
+
*/
|
|
4
|
+
const markdown = `---
|
|
5
|
+
title: Machines
|
|
6
|
+
summary: Connect and manage machines from HQ — pair by code, address, or install command
|
|
7
|
+
tags: [hq, machines, fleet, pairing]
|
|
8
|
+
parent: hq
|
|
9
|
+
order: 10
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Machines
|
|
13
|
+
|
|
14
|
+
The Machines page in HQ shows every computer you've connected — on your local network, paired by
|
|
15
|
+
code, or added by address. From here you can open a terminal on any online machine.
|
|
16
|
+
|
|
17
|
+
## Adding your first machine
|
|
18
|
+
|
|
19
|
+
Click **Add your first machine** on the empty state. Copy the generated enrollment command and run it on the machine you want to connect. HQ polls automatically and closes the dialog when the machine comes online — usually within 30 seconds.
|
|
20
|
+
|
|
21
|
+
For additional pairing options (6-digit codes, direct address entry), open your configured Platform host-management surface.
|
|
22
|
+
|
|
23
|
+
## Machine status
|
|
24
|
+
|
|
25
|
+
| Status | Meaning |
|
|
26
|
+
|---|---|
|
|
27
|
+
| **Online** | Reachable right now — you can open a terminal |
|
|
28
|
+
| **Enrolled, not reachable** | Paired but currently offline or outside your network |
|
|
29
|
+
| **Offline** | Not seen recently |
|
|
30
|
+
|
|
31
|
+
## Opening a terminal
|
|
32
|
+
|
|
33
|
+
Click **Open terminal** on any online machine. The Terminal page opens with that machine
|
|
34
|
+
preselected. See [hq.terminal](hq.terminal) for keyboard shortcuts and session management.
|
|
35
|
+
|
|
36
|
+
## Removing a machine
|
|
37
|
+
|
|
38
|
+
Click the info icon (ⓘ) on any directly-added machine, then choose **Remove**. This closes any
|
|
39
|
+
open terminal sessions to that machine and removes it from your fleet. You can re-add it at any
|
|
40
|
+
time.
|
|
41
|
+
|
|
42
|
+
## Related topics
|
|
43
|
+
|
|
44
|
+
- [hq.terminal](hq.terminal) — open a terminal on a connected machine
|
|
45
|
+
- [hq.sessions](hq.sessions) — create and manage code sessions on any machine
|
|
46
|
+
`;
|
|
47
|
+
const descriptor = {
|
|
48
|
+
kind: 'docs/topic',
|
|
49
|
+
id: 'hq.machines',
|
|
50
|
+
title: 'Machines',
|
|
51
|
+
summary: 'Connect and manage machines from HQ — pair by code, address, or install command',
|
|
52
|
+
body: {
|
|
53
|
+
type: 'markdown',
|
|
54
|
+
sourceType: 'raw',
|
|
55
|
+
source: markdown
|
|
56
|
+
},
|
|
57
|
+
parent: 'hq',
|
|
58
|
+
order: 10,
|
|
59
|
+
tags: ['hq', 'machines', 'fleet', 'pairing'],
|
|
60
|
+
surfaces: ['in-app', 'web'],
|
|
61
|
+
hardware: ['consumer'],
|
|
62
|
+
enabled: true
|
|
63
|
+
};
|
|
64
|
+
export default descriptor;
|
|
65
|
+
//# sourceMappingURL=hq.machines.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.machines.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/hq.machines.docs.descriptor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ChB,CAAC;AAEF,MAAM,UAAU,GAAG;IACjB,IAAI,EAAE,YAAqB;IAC3B,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,iFAAiF;IAC1F,IAAI,EAAE;QACJ,IAAI,EAAE,UAAmB;QACzB,UAAU,EAAE,KAAc;QAC1B,MAAM,EAAE,QAAQ;KACjB;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,CAAC;IAC5C,QAAQ,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAU;IACpC,QAAQ,EAAE,CAAC,UAAU,CAAU;IAC/B,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-flow docs for the HQ Sessions surface (code sessions).
|
|
3
|
+
*/
|
|
4
|
+
declare const descriptor: {
|
|
5
|
+
kind: "docs/topic";
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
summary: string;
|
|
9
|
+
body: {
|
|
10
|
+
type: "markdown";
|
|
11
|
+
sourceType: "raw";
|
|
12
|
+
source: string;
|
|
13
|
+
};
|
|
14
|
+
parent: string;
|
|
15
|
+
order: number;
|
|
16
|
+
tags: string[];
|
|
17
|
+
surfaces: readonly ["in-app", "web"];
|
|
18
|
+
hardware: readonly ["consumer"];
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
export default descriptor;
|
|
22
|
+
//# sourceMappingURL=hq.sessions.docs.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.sessions.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/hq.sessions.docs.descriptor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAuDH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;CAgBf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-flow docs for the HQ Sessions surface (code sessions).
|
|
3
|
+
*/
|
|
4
|
+
const markdown = `---
|
|
5
|
+
title: Sessions
|
|
6
|
+
summary: Create and manage code sessions — interactive workspaces with persistent file access
|
|
7
|
+
tags: [hq, sessions, code, workspace]
|
|
8
|
+
parent: hq
|
|
9
|
+
order: 30
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Sessions
|
|
13
|
+
|
|
14
|
+
Sessions are persistent workspaces where you can run commands, edit files, and pick up where you
|
|
15
|
+
left off across reloads. Sessions run on cloud infrastructure or on connected fleet machines.
|
|
16
|
+
|
|
17
|
+
## Creating a session
|
|
18
|
+
|
|
19
|
+
1. Click **New session** at the top right of the Sessions page.
|
|
20
|
+
2. Choose a target (cloud session for running commands, or a connected fleet machine for interactive terminal).
|
|
21
|
+
3. Optionally link a repository and branch.
|
|
22
|
+
4. Click **Create** — you're taken to the new session.
|
|
23
|
+
|
|
24
|
+
## Session types
|
|
25
|
+
|
|
26
|
+
**Interactive terminal** (local or connected machines): a full shell you can attach to. Click
|
|
27
|
+
**Open terminal** on the session detail page to connect. See [hq.terminal](hq.terminal) for
|
|
28
|
+
keyboard shortcuts.
|
|
29
|
+
|
|
30
|
+
**Run commands** (cloud sessions): enter individual commands and see their output as cards. You
|
|
31
|
+
can re-run any card. This mode is clearly labeled so you know what to expect.
|
|
32
|
+
|
|
33
|
+
## Resuming a session after reload
|
|
34
|
+
|
|
35
|
+
Sessions listed on the Sessions page are still running. Click the session name to return to it.
|
|
36
|
+
If you were mid-terminal, click **Open terminal** to reattach — the shell picks up from where
|
|
37
|
+
you left off (scroll history replays automatically).
|
|
38
|
+
|
|
39
|
+
## Browsing the workspace
|
|
40
|
+
|
|
41
|
+
Session files are accessible from the session detail page. The workspace browser shows the files
|
|
42
|
+
inside the session's working directory so you can navigate and reference them without a separate
|
|
43
|
+
terminal.
|
|
44
|
+
|
|
45
|
+
## Deleting a session
|
|
46
|
+
|
|
47
|
+
Click the trash icon on any session (or on the session detail page). You'll see a confirmation
|
|
48
|
+
that lists exactly what will be removed — the running session and its workspace files. This
|
|
49
|
+
cannot be undone.
|
|
50
|
+
|
|
51
|
+
## Related topics
|
|
52
|
+
|
|
53
|
+
- [hq.machines](hq.machines) — add a machine to create sessions on it
|
|
54
|
+
- [hq.terminal](hq.terminal) — attach to a running session as an interactive terminal
|
|
55
|
+
`;
|
|
56
|
+
const descriptor = {
|
|
57
|
+
kind: 'docs/topic',
|
|
58
|
+
id: 'hq.sessions',
|
|
59
|
+
title: 'Sessions',
|
|
60
|
+
summary: 'Create and manage code sessions — interactive workspaces with persistent file access',
|
|
61
|
+
body: {
|
|
62
|
+
type: 'markdown',
|
|
63
|
+
sourceType: 'raw',
|
|
64
|
+
source: markdown
|
|
65
|
+
},
|
|
66
|
+
parent: 'hq',
|
|
67
|
+
order: 30,
|
|
68
|
+
tags: ['hq', 'sessions', 'code', 'workspace'],
|
|
69
|
+
surfaces: ['in-app', 'web'],
|
|
70
|
+
hardware: ['consumer'],
|
|
71
|
+
enabled: true
|
|
72
|
+
};
|
|
73
|
+
export default descriptor;
|
|
74
|
+
//# sourceMappingURL=hq.sessions.docs.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.sessions.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/hq.sessions.docs.descriptor.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDhB,CAAC;AAEF,MAAM,UAAU,GAAG;IACjB,IAAI,EAAE,YAAqB;IAC3B,EAAE,EAAE,aAAa;IACjB,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE,sFAAsF;IAC/F,IAAI,EAAE;QACJ,IAAI,EAAE,UAAmB;QACzB,UAAU,EAAE,KAAc;QAC1B,MAAM,EAAE,QAAQ;KACjB;IACD,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC;IAC7C,QAAQ,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAU;IACpC,QAAQ,EAAE,CAAC,UAAU,CAAU;IAC/B,OAAO,EAAE,IAAI;CACd,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User-flow docs for HQ's fleet and terminal surfaces (Machines, Terminal, Sessions).
|
|
3
|
+
*
|
|
4
|
+
* Structurally typed, like the three sibling topics in this directory: this
|
|
5
|
+
* package does not depend on `@vibesdotdev/docs-contracts`, and the shape is
|
|
6
|
+
* validated for real against `DocsTopicDescriptorSchema` when the docs build
|
|
7
|
+
* reads it out of the registry.
|
|
8
|
+
*/
|
|
9
|
+
declare const descriptor: {
|
|
10
|
+
kind: "docs/topic";
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
summary: string;
|
|
14
|
+
body: {
|
|
15
|
+
type: "markdown";
|
|
16
|
+
sourceType: "raw";
|
|
17
|
+
source: string;
|
|
18
|
+
};
|
|
19
|
+
parent: string;
|
|
20
|
+
order: number;
|
|
21
|
+
tags: string[];
|
|
22
|
+
surfaces: readonly ["web"];
|
|
23
|
+
hardware: readonly ["cloud", "consumer"];
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
man: {
|
|
26
|
+
name: string;
|
|
27
|
+
section: number;
|
|
28
|
+
synopsis: string;
|
|
29
|
+
options: never[];
|
|
30
|
+
examples: {
|
|
31
|
+
description: string;
|
|
32
|
+
command: string;
|
|
33
|
+
}[];
|
|
34
|
+
seeAlso: string[];
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default descriptor;
|
|
38
|
+
//# sourceMappingURL=hq.surfaces.docs.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.surfaces.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/hq.surfaces.docs.descriptor.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAwHH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|