@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,70 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'hq.friction.emit',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'emit',
|
|
6
|
+
description: 'Emit a friction signal — write one row to the friction_signals store',
|
|
7
|
+
group: 'friction',
|
|
8
|
+
options: [
|
|
9
|
+
{ flags: '--org-id <id>', description: 'Organization id (default: the signed-in organization)' },
|
|
10
|
+
{
|
|
11
|
+
flags: '--source <source>',
|
|
12
|
+
description: 'agent-self-observed | agent-watched-user | rum-error | chat-confusion | incomplete-marker | user-explicit | support-ticket | telemetry-signal',
|
|
13
|
+
choices: [
|
|
14
|
+
'agent-self-observed',
|
|
15
|
+
'agent-watched-user',
|
|
16
|
+
'rum-error',
|
|
17
|
+
'chat-confusion',
|
|
18
|
+
'incomplete-marker',
|
|
19
|
+
'user-explicit',
|
|
20
|
+
'support-ticket',
|
|
21
|
+
'telemetry-signal'
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
flags: '--audience <audience>',
|
|
26
|
+
description: 'agent | user | both',
|
|
27
|
+
choices: ['agent', 'user', 'both']
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
flags: '--surface <surface>',
|
|
31
|
+
description: 'The CLI subcommand, route, or API path the friction was observed on'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
flags: '--severity <severity>',
|
|
35
|
+
description: 'blocker | annoyance | nice-to-have | confusion',
|
|
36
|
+
choices: ['blocker', 'annoyance', 'nice-to-have', 'confusion']
|
|
37
|
+
},
|
|
38
|
+
{ flags: '--observed <observed>', description: 'What actually happened' },
|
|
39
|
+
{ flags: '--expected <expected>', description: 'What should have happened (optional)' },
|
|
40
|
+
{ flags: '--repro <repro>', description: 'Reproduction command or steps (optional)' },
|
|
41
|
+
{
|
|
42
|
+
flags: '--workaround <workaround>',
|
|
43
|
+
description: 'What the agent/user did instead (optional)'
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
flags: '--evidence <evidence...>',
|
|
47
|
+
description: 'Repeatable. Format: kind:ref (kinds: session-id, run-id, file-line, ticket-id, error-event-id, url, commit-sha, other)'
|
|
48
|
+
},
|
|
49
|
+
{ flags: '--agent-run-id <id>', description: 'Originating agent run id (optional)' },
|
|
50
|
+
{ flags: '--user-session-id <id>', description: 'Originating user session id (optional)' },
|
|
51
|
+
{
|
|
52
|
+
flags: '--occurrence-id <id>',
|
|
53
|
+
description: 'Stable tenant-scoped id for replay-safe emission (optional)'
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
flags: '--created-by <id>',
|
|
57
|
+
description: 'Actor id (default: the agent this invocation acts as)'
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
flags: '--personal-data-level <level>',
|
|
61
|
+
description: 'none | redacted | identified (default: redacted)',
|
|
62
|
+
choices: ['none', 'redacted', 'identified']
|
|
63
|
+
},
|
|
64
|
+
{ flags: '--json', description: 'Output the full row as JSON' }
|
|
65
|
+
],
|
|
66
|
+
surfaces: ['cli'],
|
|
67
|
+
hardware: ['consumer'],
|
|
68
|
+
enabled: true
|
|
69
|
+
});
|
|
70
|
+
//# sourceMappingURL=hq.friction.emit.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.emit.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.emit.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,sEAAsE;IACnF,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,uDAAuD,EAAE;QAChG;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACV,+IAA+I;YAChJ,OAAO,EAAE;gBACR,qBAAqB;gBACrB,oBAAoB;gBACpB,WAAW;gBACX,gBAAgB;gBAChB,mBAAmB;gBACnB,eAAe;gBACf,gBAAgB;gBAChB,kBAAkB;aAClB;SACD;QACD;YACC,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,qBAAqB;YAClC,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;SAClC;QACD;YACC,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,qEAAqE;SAClF;QACD;YACC,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,gDAAgD;YAC7D,OAAO,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,CAAC;SAC9D;QACD,EAAE,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,wBAAwB,EAAE;QACzE,EAAE,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,sCAAsC,EAAE;QACvF,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,0CAA0C,EAAE;QACrF;YACC,KAAK,EAAE,2BAA2B;YAClC,WAAW,EAAE,4CAA4C;SACzD;QACD;YACC,KAAK,EAAE,0BAA0B;YACjC,WAAW,EACV,wHAAwH;SACzH;QACD,EAAE,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,qCAAqC,EAAE;QACpF,EAAE,KAAK,EAAE,wBAAwB,EAAE,WAAW,EAAE,wCAAwC,EAAE;QAC1F;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,6DAA6D;SAC1E;QACD;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,uDAAuD;SACpE;QACD;YACC,KAAK,EAAE,+BAA+B;YACtC,WAAW,EAAE,kDAAkD;YAC/D,OAAO,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,YAAY,CAAC;SAC3C;QACD,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,6BAA6B,EAAE;KAC/D;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
import type { CommandContext } from '@vibesdotdev/cli';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
execute(inputArgs: CommandOptions, inputOptions: CommandOptions, context: CommandContext): Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=hq.friction.emit.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.emit.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.emit.impl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;uBAkD7B,cAAc,gBAAgB,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD/G,wBA8DE"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { writeStdoutLine, commandWriters } from '@vibesdotdev/cli/output';
|
|
2
|
+
import { parseCliArguments, parseCliOptions } from "../schemas/input.js";
|
|
3
|
+
import { writeJson } from '@vibesdotdev/cli/output';
|
|
4
|
+
import { computeSignatureHash, generateFrictionId, writeFrictionSignal } from "../../friction/store.js";
|
|
5
|
+
import { printFrictionStoreHintOnce } from "./_store-hint.js";
|
|
6
|
+
import { frictionActorId, frictionOrgId } from "./invocation.js";
|
|
7
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
8
|
+
import { FrictionAudienceSchema, FrictionEvidenceLinkSchema, FrictionPersonalDataLevelSchema, FrictionSeveritySchema, FrictionSourceSchema } from "../../friction/schemas/signal.js";
|
|
9
|
+
function requiredString(opts, key) {
|
|
10
|
+
const value = opts[key];
|
|
11
|
+
if (!value) {
|
|
12
|
+
throw new CapabilityError(`Missing required option --${key.replace(/[A-Z]/g, (m) => `-${m.toLowerCase()}`)}`, 'INVALID_INPUT');
|
|
13
|
+
}
|
|
14
|
+
return value.trim();
|
|
15
|
+
}
|
|
16
|
+
function parseEvidence(value) {
|
|
17
|
+
const raw = value;
|
|
18
|
+
return raw.map((entry) => {
|
|
19
|
+
const text = String(entry);
|
|
20
|
+
const separator = text.indexOf(':');
|
|
21
|
+
if (separator <= 0 || separator === text.length - 1) {
|
|
22
|
+
throw new CapabilityError(`Invalid evidence link "${text}". Expected kind:ref.`, 'INVALID_INPUT');
|
|
23
|
+
}
|
|
24
|
+
return FrictionEvidenceLinkSchema.parse({
|
|
25
|
+
kind: text.slice(0, separator),
|
|
26
|
+
ref: text.slice(separator + 1)
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export default {
|
|
31
|
+
async execute(inputArgs, inputOptions, context) {
|
|
32
|
+
const _args = parseCliArguments(inputArgs);
|
|
33
|
+
const opts = parseCliOptions(inputOptions);
|
|
34
|
+
const { runtime } = context;
|
|
35
|
+
try {
|
|
36
|
+
await printFrictionStoreHintOnce(runtime);
|
|
37
|
+
// The org and creator are the explicit flags, else the invocation actor's;
|
|
38
|
+
// an invocation with neither fails typed on every backend.
|
|
39
|
+
const orgId = frictionOrgId(runtime, opts.orgId);
|
|
40
|
+
const createdBy = await frictionActorId(runtime, opts.createdBy);
|
|
41
|
+
const source = FrictionSourceSchema.parse(requiredString(opts, 'source'));
|
|
42
|
+
const audience = FrictionAudienceSchema.parse(requiredString(opts, 'audience'));
|
|
43
|
+
const surface = requiredString(opts, 'surface');
|
|
44
|
+
const severity = FrictionSeveritySchema.parse(requiredString(opts, 'severity'));
|
|
45
|
+
const observed = requiredString(opts, 'observed');
|
|
46
|
+
const expected = opts.expected;
|
|
47
|
+
const repro = opts.repro;
|
|
48
|
+
const workaround = opts.workaround;
|
|
49
|
+
const personalDataLevel = FrictionPersonalDataLevelSchema.parse(opts.personalDataLevel ?? 'redacted');
|
|
50
|
+
const signal = {
|
|
51
|
+
id: generateFrictionId(),
|
|
52
|
+
orgId,
|
|
53
|
+
source,
|
|
54
|
+
audience,
|
|
55
|
+
surface,
|
|
56
|
+
severity,
|
|
57
|
+
observed,
|
|
58
|
+
expected,
|
|
59
|
+
repro,
|
|
60
|
+
workaround,
|
|
61
|
+
evidenceLinks: parseEvidence(opts.evidence),
|
|
62
|
+
signatureHash: computeSignatureHash({ source, surface, observed }),
|
|
63
|
+
personalDataLevel,
|
|
64
|
+
createdAt: new Date().toISOString(),
|
|
65
|
+
createdBy,
|
|
66
|
+
agentRunId: opts.agentRunId,
|
|
67
|
+
userSessionId: opts.userSessionId,
|
|
68
|
+
occurrenceId: opts.occurrenceId ?? opts.agentRunId ?? opts.userSessionId
|
|
69
|
+
};
|
|
70
|
+
const written = await writeFrictionSignal(runtime, signal);
|
|
71
|
+
if (opts.json) {
|
|
72
|
+
await writeJson(runtime, written);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
await writeStdoutLine(context.runtime, `${written.id} ${written.severity} ${written.surface}`);
|
|
76
|
+
(await commandWriters(context.runtime)).log(` org: ${written.orgId}, created by: ${written.createdBy}`);
|
|
77
|
+
}
|
|
78
|
+
catch (err) {
|
|
79
|
+
if (err instanceof CapabilityError)
|
|
80
|
+
throw err;
|
|
81
|
+
throw new CapabilityError(`Failed to emit friction signal: ${err instanceof Error ? err.message : String(err)}`, 'INTERNAL', { cause: err });
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=hq.friction.emit.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.emit.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.emit.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAIzE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EACN,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EACN,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,sBAAsB,EACtB,oBAAoB,EAGpB,MAAM,kCAAkC,CAAC;AAE1C,SAAS,cAAc,CAAC,IAAgB,EAAE,GAAgE;IACzG,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC;IACxB,IAAI,CAAC,KAAK,EAAE,CAAC;QACZ,MAAM,IAAI,eAAe,CACxB,6BAA6B,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,EAAE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C,aAAa;aACxE,CAAC;YAEF,MAAM,OAAO,GAAG,MAAM,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;YAC3D,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACf,MAAM,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;gBAClC,OAAO;YACR,CAAC;YACD,MAAM,eAAe,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,OAAO,CAAC,EAAE,IAAI,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;YAC/F,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,UAAU,OAAO,CAAC,KAAK,iBAAiB,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;QAC1G,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,mCAAmC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EACrF,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "hq.friction.list";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "list";
|
|
5
|
+
readonly description: "List recorded friction signals";
|
|
6
|
+
readonly group: "friction";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--org-id <id>";
|
|
9
|
+
readonly description: "Organization id (default: the signed-in organization)";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--source <source>";
|
|
12
|
+
readonly description: "Filter by source";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "--audience <audience>";
|
|
15
|
+
readonly description: "Filter by audience";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "--surface <surface>";
|
|
18
|
+
readonly description: "Filter by exact surface";
|
|
19
|
+
}, {
|
|
20
|
+
readonly flags: "--since <date>";
|
|
21
|
+
readonly description: "Filter by ISO date or date string";
|
|
22
|
+
}, {
|
|
23
|
+
readonly flags: "--limit <n>";
|
|
24
|
+
readonly description: "Maximum number of rows to print (default: 25)";
|
|
25
|
+
}, {
|
|
26
|
+
readonly flags: "--clusters";
|
|
27
|
+
readonly description: "Group signals by signature and show the latest disposition";
|
|
28
|
+
}, {
|
|
29
|
+
readonly flags: "--json";
|
|
30
|
+
readonly description: "Output JSON";
|
|
31
|
+
}];
|
|
32
|
+
readonly surfaces: ["cli"];
|
|
33
|
+
readonly hardware: readonly ["consumer"];
|
|
34
|
+
readonly enabled: true;
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=hq.friction.list.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.list.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.list.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAmBG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'hq.friction.list',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'list',
|
|
6
|
+
description: 'List recorded friction signals',
|
|
7
|
+
group: 'friction',
|
|
8
|
+
options: [
|
|
9
|
+
{ flags: '--org-id <id>', description: 'Organization id (default: the signed-in organization)' },
|
|
10
|
+
{ flags: '--source <source>', description: 'Filter by source' },
|
|
11
|
+
{ flags: '--audience <audience>', description: 'Filter by audience' },
|
|
12
|
+
{ flags: '--surface <surface>', description: 'Filter by exact surface' },
|
|
13
|
+
{ flags: '--since <date>', description: 'Filter by ISO date or date string' },
|
|
14
|
+
{ flags: '--limit <n>', description: 'Maximum number of rows to print (default: 25)' },
|
|
15
|
+
{ flags: '--clusters', description: 'Group signals by signature and show the latest disposition' },
|
|
16
|
+
{ flags: '--json', description: 'Output JSON' }
|
|
17
|
+
],
|
|
18
|
+
surfaces: ['cli'],
|
|
19
|
+
hardware: ['consumer'],
|
|
20
|
+
enabled: true
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=hq.friction.list.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.list.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.list.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,gCAAgC;IAC7C,KAAK,EAAE,UAAU;IACjB,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,uDAAuD,EAAE;QAChG,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,kBAAkB,EAAE;QAC/D,EAAE,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,oBAAoB,EAAE;QACrE,EAAE,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,yBAAyB,EAAE;QACxE,EAAE,KAAK,EAAE,gBAAgB,EAAE,WAAW,EAAE,mCAAmC,EAAE;QAC7E,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,+CAA+C,EAAE;QACtF,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,4DAA4D,EAAE;QAClG,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,aAAa,EAAE;KAC/C;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
import type { CommandContext } from '@vibesdotdev/cli';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
execute(inputArgs: CommandOptions, inputOptions: CommandOptions, context: CommandContext): Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=hq.friction.list.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.list.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.list.impl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;uBAmB7B,cAAc,gBAAgB,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD/G,wBAwEE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { writeStdoutLine } from '@vibesdotdev/cli/output';
|
|
2
|
+
import { parseCliArguments, parseCliOptions } from "../schemas/input.js";
|
|
3
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
4
|
+
import { frictionBackendInfo, listFrictionSignalsWithBackend } from "../../friction/store.js";
|
|
5
|
+
import { listFrictionClusters } from "../../friction/clusters.js";
|
|
6
|
+
import { formatPromotedWorkItems, resolvePromotedWorkItems } from "../../friction/promotion-visibility.js";
|
|
7
|
+
import { printFrictionStoreHintOnce } from "./_store-hint.js";
|
|
8
|
+
import { writeJson } from '@vibesdotdev/cli/output';
|
|
9
|
+
import { frictionOrgId } from "./invocation.js";
|
|
10
|
+
export default {
|
|
11
|
+
async execute(inputArgs, inputOptions, context) {
|
|
12
|
+
const _args = parseCliArguments(inputArgs);
|
|
13
|
+
const opts = parseCliOptions(inputOptions);
|
|
14
|
+
const { runtime } = context;
|
|
15
|
+
try {
|
|
16
|
+
await printFrictionStoreHintOnce(runtime);
|
|
17
|
+
const filter = {
|
|
18
|
+
source: opts.source,
|
|
19
|
+
audience: opts.audience,
|
|
20
|
+
surface: opts.surface,
|
|
21
|
+
since: opts.since,
|
|
22
|
+
orgId: frictionOrgId(runtime, opts.orgId),
|
|
23
|
+
limit: opts.limit ?? 25
|
|
24
|
+
};
|
|
25
|
+
if (opts.clusters) {
|
|
26
|
+
const clusters = await listFrictionClusters(runtime, filter);
|
|
27
|
+
if (opts.json) {
|
|
28
|
+
await writeJson(runtime, clusters);
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
if (clusters.length === 0) {
|
|
32
|
+
await writeStdoutLine(context.runtime, 'No friction signal clusters found.');
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
for (const cluster of clusters) {
|
|
36
|
+
const disposition = cluster.latestDisposition
|
|
37
|
+
? ` · disposition ${cluster.latestDisposition.disposition}`
|
|
38
|
+
: ' · disposition —';
|
|
39
|
+
const promoted = cluster.latestDisposition?.workItemIds.length
|
|
40
|
+
? ` · promoted → ${cluster.latestDisposition.workItemIds.join(', ')}`
|
|
41
|
+
: '';
|
|
42
|
+
await writeStdoutLine(context.runtime, `${cluster.representative.id} [${cluster.representative.severity}] ${cluster.representative.surface} — ${cluster.representative.observed} ×${cluster.count} [backend ${cluster.backend}]${disposition}${promoted}`);
|
|
43
|
+
}
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
const [signals, backends] = await Promise.all([
|
|
47
|
+
listFrictionSignalsWithBackend(runtime, filter),
|
|
48
|
+
frictionBackendInfo(runtime)
|
|
49
|
+
]);
|
|
50
|
+
if (opts.json) {
|
|
51
|
+
await writeJson(runtime, signals);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (signals.length === 0) {
|
|
55
|
+
await writeStdoutLine(context.runtime, 'No friction signals found.');
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const promotions = await resolvePromotedWorkItems(runtime, signals);
|
|
59
|
+
for (const signal of signals) {
|
|
60
|
+
const promotion = promotions
|
|
61
|
+
? ` · promoted → ${formatPromotedWorkItems(promotions.get(signal.id) ?? [])}`
|
|
62
|
+
: '';
|
|
63
|
+
await writeStdoutLine(context.runtime, `${signal.id} [${signal.severity}] ${signal.surface} — ${signal.observed} (${signal.createdAt}) [backend ${signal.backend}; record ${backends.record.rowCount}, spool ${backends.spool.rowCount}]${promotion}`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
catch (err) {
|
|
67
|
+
if (err instanceof CapabilityError)
|
|
68
|
+
throw err;
|
|
69
|
+
throw new CapabilityError(`Failed to list friction signals: ${err instanceof Error ? err.message : String(err)}`, 'INTERNAL', { cause: err });
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=hq.friction.list.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.list.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.list.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGzE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EACN,mBAAmB,EACnB,8BAA8B,EAE9B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC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IAAI,EAAE,CAAC,EAAE;oBAC7E,CAAC,CAAC,EAAE,CAAC;gBACN,MAAM,eAAe,CAAC,OAAO,CAAC,OAAO,EACpC,GAAG,MAAM,CAAC,EAAE,KAAK,MAAM,CAAC,QAAQ,KAAK,MAAM,CAAC,OAAO,MAAM,MAAM,CAAC,QAAQ,KAAK,MAAM,CAAC,SAAS,cAAc,MAAM,CAAC,OAAO,YAAY,QAAQ,CAAC,MAAM,CAAC,QAAQ,WAAW,QAAQ,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,EAAE,CAC9M,CAAC;YACH,CAAC;QACF,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,oCAAoC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EACtF,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "hq.friction.promote";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "promote";
|
|
5
|
+
readonly description: "Promote a friction signal into a work item";
|
|
6
|
+
readonly group: "friction";
|
|
7
|
+
readonly arguments: [{
|
|
8
|
+
readonly name: "id";
|
|
9
|
+
readonly description: "Friction signal id";
|
|
10
|
+
readonly required: true;
|
|
11
|
+
}];
|
|
12
|
+
readonly options: [{
|
|
13
|
+
readonly flags: "--json";
|
|
14
|
+
readonly description: "Output the created work item as JSON";
|
|
15
|
+
}];
|
|
16
|
+
readonly surfaces: ["cli"];
|
|
17
|
+
readonly hardware: readonly ["consumer"];
|
|
18
|
+
readonly enabled: true;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
21
|
+
//# sourceMappingURL=hq.friction.promote.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.promote.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.promote.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,wBAWG"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'hq.friction.promote',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'promote',
|
|
6
|
+
description: 'Promote a friction signal into a work item',
|
|
7
|
+
group: 'friction',
|
|
8
|
+
arguments: [{ name: 'id', description: 'Friction signal id', required: true }],
|
|
9
|
+
options: [{ flags: '--json', description: 'Output the created work item as JSON' }],
|
|
10
|
+
surfaces: ['cli'],
|
|
11
|
+
hardware: ['consumer'],
|
|
12
|
+
enabled: true
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=hq.friction.promote.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.promote.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.promote.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,qBAAqB;IACzB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,4CAA4C;IACzD,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9E,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,sCAAsC,EAAE,CAAC;IACnF,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
import type { CommandContext } from '@vibesdotdev/cli';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
execute(inputArgs: CommandOptions, inputOptions: CommandOptions, context: CommandContext): Promise<void>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=hq.friction.promote.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.promote.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.promote.impl.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;uBAqB7B,cAAc,gBAAgB,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD/G,wBAuCE"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { writeStdoutLine, commandWriters } from '@vibesdotdev/cli/output';
|
|
2
|
+
import { parseCliArguments, parseCliOptions } from "../schemas/input.js";
|
|
3
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
4
|
+
import { getFrictionSignal } from "../../friction/store.js";
|
|
5
|
+
import { buildPromoteWorkItemInput } from "../../friction/promote-input.js";
|
|
6
|
+
import { printFrictionStoreHintOnce } from "./_store-hint.js";
|
|
7
|
+
/**
|
|
8
|
+
* The slice of the `work.items` storage/manifest this command needs.
|
|
9
|
+
* Resolved from the runtime by id — same creation path `vibes work create`
|
|
10
|
+
* uses — so promotion never reimplements work-item persistence.
|
|
11
|
+
*/
|
|
12
|
+
import { writeJson } from '@vibesdotdev/cli/output';
|
|
13
|
+
// The promote convention (title/description/priority/tags/back-link) has ONE
|
|
14
|
+
// home shared with the friction runtime/client's `promoteInput` (used by the
|
|
15
|
+
// /work-items TUI) — both paths must create the identical work item.
|
|
16
|
+
export default {
|
|
17
|
+
async execute(inputArgs, inputOptions, context) {
|
|
18
|
+
const args = parseCliArguments(inputArgs);
|
|
19
|
+
const opts = parseCliOptions(inputOptions);
|
|
20
|
+
const { runtime } = context;
|
|
21
|
+
try {
|
|
22
|
+
await printFrictionStoreHintOnce(runtime);
|
|
23
|
+
const id = args.id ?? '';
|
|
24
|
+
if (!id) {
|
|
25
|
+
throw new CapabilityError('friction signal id is required', 'INVALID_INPUT');
|
|
26
|
+
}
|
|
27
|
+
const signal = await getFrictionSignal(runtime, id);
|
|
28
|
+
if (!signal) {
|
|
29
|
+
throw new CapabilityError(`No friction signal found for "${id}"`, 'NOT_FOUND');
|
|
30
|
+
}
|
|
31
|
+
const workItems = await runtime.resolve('storage/manifest', 'work.items');
|
|
32
|
+
const created = await workItems.createWorkItem(buildPromoteWorkItemInput(signal));
|
|
33
|
+
if (opts.json) {
|
|
34
|
+
await writeJson(runtime, created);
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
await writeStdoutLine(context.runtime, created.id);
|
|
38
|
+
(await commandWriters(context.runtime)).log(` promoted friction ${signal.id} → work item ${created.id} [${created.status}]`);
|
|
39
|
+
}
|
|
40
|
+
catch (err) {
|
|
41
|
+
if (err instanceof CapabilityError)
|
|
42
|
+
throw err;
|
|
43
|
+
throw new CapabilityError(`Failed to promote friction signal: ${err instanceof Error ? err.message : String(err)}`, 'INTERNAL', { cause: err });
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=hq.friction.promote.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.promote.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.promote.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EA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AAC,yBAAyB,CAAC,MAAM,CAAC,CAAC,CAAC;YAElF,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;gBACf,MAAM,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;gBAClC,OAAO;YACR,CAAC;YAED,MAAM,eAAe,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;YACnD,CAAC,MAAM,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,uBAAuB,MAAM,CAAC,EAAE,gBAAgB,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;QAC/H,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,sCAAsC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EACxF,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "hq.friction.reject";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "reject";
|
|
5
|
+
readonly description: "Record a rejected disposition for a friction signal";
|
|
6
|
+
readonly group: "friction";
|
|
7
|
+
readonly arguments: [{
|
|
8
|
+
readonly name: "id";
|
|
9
|
+
readonly description: "Friction signal id";
|
|
10
|
+
readonly required: true;
|
|
11
|
+
}];
|
|
12
|
+
readonly options: [{
|
|
13
|
+
readonly flags: "--note <note>";
|
|
14
|
+
readonly description: "Rejection note";
|
|
15
|
+
}, {
|
|
16
|
+
readonly flags: "--json";
|
|
17
|
+
readonly description: "Output the disposition row as JSON";
|
|
18
|
+
}];
|
|
19
|
+
readonly surfaces: ["cli"];
|
|
20
|
+
readonly hardware: readonly ["consumer"];
|
|
21
|
+
readonly enabled: true;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=hq.friction.reject.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.reject.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.reject.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAEA,wBAcG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'hq.friction.reject',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'reject',
|
|
6
|
+
description: 'Record a rejected disposition for a friction signal',
|
|
7
|
+
group: 'friction',
|
|
8
|
+
arguments: [{ name: 'id', description: 'Friction signal id', required: true }],
|
|
9
|
+
options: [
|
|
10
|
+
{ flags: '--note <note>', description: 'Rejection note' },
|
|
11
|
+
{ flags: '--json', description: 'Output the disposition row as JSON' }
|
|
12
|
+
],
|
|
13
|
+
surfaces: ['cli'],
|
|
14
|
+
hardware: ['consumer'],
|
|
15
|
+
enabled: true
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=hq.friction.reject.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.reject.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.reject.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,oBAAoB;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,qDAAqD;IAClE,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9E,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,gBAAgB,EAAE;QACzD,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,oCAAoC,EAAE;KACtE;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=hq.friction.reject.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.reject.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.reject.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;kBAIxD,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD5F,wBAIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.reject.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.reject.impl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,eAAe;IACd,OAAO,CAAC,IAAoB,EAAE,IAAoB,EAAE,OAAuB;QAC1E,OAAO,0BAA0B,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "hq.friction.resolve";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "resolve";
|
|
5
|
+
readonly description: "Record a resolved disposition for a friction signal";
|
|
6
|
+
readonly group: "friction";
|
|
7
|
+
readonly arguments: [{
|
|
8
|
+
readonly name: "id";
|
|
9
|
+
readonly description: "Friction signal id";
|
|
10
|
+
readonly required: true;
|
|
11
|
+
}];
|
|
12
|
+
readonly options: [{
|
|
13
|
+
readonly flags: "--note <note>";
|
|
14
|
+
readonly description: "Resolution note";
|
|
15
|
+
}, {
|
|
16
|
+
readonly flags: "--work-item <uuid...>";
|
|
17
|
+
readonly description: "Work item ids that resolved this signal";
|
|
18
|
+
}, {
|
|
19
|
+
readonly flags: "--json";
|
|
20
|
+
readonly description: "Output the disposition row as JSON";
|
|
21
|
+
}];
|
|
22
|
+
readonly surfaces: ["cli"];
|
|
23
|
+
readonly hardware: readonly ["consumer"];
|
|
24
|
+
readonly enabled: true;
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=hq.friction.resolve.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.resolve.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.resolve.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAeG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'hq.friction.resolve',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'resolve',
|
|
6
|
+
description: 'Record a resolved disposition for a friction signal',
|
|
7
|
+
group: 'friction',
|
|
8
|
+
arguments: [{ name: 'id', description: 'Friction signal id', required: true }],
|
|
9
|
+
options: [
|
|
10
|
+
{ flags: '--note <note>', description: 'Resolution note' },
|
|
11
|
+
{ flags: '--work-item <uuid...>', description: 'Work item ids that resolved this signal' },
|
|
12
|
+
{ flags: '--json', description: 'Output the disposition row as JSON' }
|
|
13
|
+
],
|
|
14
|
+
surfaces: ['cli'],
|
|
15
|
+
hardware: ['consumer'],
|
|
16
|
+
enabled: true
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=hq.friction.resolve.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.resolve.descriptor.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.resolve.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,qBAAqB;IACzB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,qDAAqD;IAClE,KAAK,EAAE,UAAU;IACjB,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC9E,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,iBAAiB,EAAE;QAC1D,EAAE,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,yCAAyC,EAAE;QAC1F,EAAE,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,oCAAoC,EAAE;KACtE;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
4
|
+
};
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=hq.friction.resolve.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.resolve.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.resolve.impl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;kBAIxD,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AAD5F,wBAIE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { executeFrictionDisposition } from "./hq.friction.disposition.js";
|
|
2
|
+
export default {
|
|
3
|
+
execute(args, opts, context) {
|
|
4
|
+
return executeFrictionDisposition(context.runtime, args, opts, 'resolved');
|
|
5
|
+
}
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=hq.friction.resolve.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.friction.resolve.impl.js","sourceRoot":"","sources":["../../../src/cli/friction/hq.friction.resolve.impl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,eAAe;IACd,OAAO,CAAC,IAAoB,EAAE,IAAoB,EAAE,OAAuB;QAC1E,OAAO,0BAA0B,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;IAC5E,CAAC;CACD,CAAC"}
|