@vibesdotdev/cli 0.0.1 → 1.0.0-rc.2
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 +265 -24
- package/dist/boot/action-lifetime.d.ts +16 -0
- package/dist/boot/action-lifetime.d.ts.map +1 -0
- package/dist/boot/action-lifetime.js +80 -0
- package/dist/boot/action-lifetime.js.map +1 -0
- package/dist/boot/bootstrap.d.ts +190 -0
- package/dist/boot/bootstrap.d.ts.map +1 -0
- package/dist/boot/bootstrap.js +737 -0
- package/dist/boot/bootstrap.js.map +1 -0
- package/dist/boot/cli-flags.d.ts +45 -0
- package/dist/boot/cli-flags.d.ts.map +1 -0
- package/dist/boot/cli-flags.js +113 -0
- package/dist/boot/cli-flags.js.map +1 -0
- package/dist/boot/config.d.ts +25 -0
- package/dist/boot/config.d.ts.map +1 -0
- package/dist/{config.js → boot/config.js} +1 -1
- package/dist/boot/config.js.map +1 -0
- package/dist/boot/external-url.d.ts +13 -0
- package/dist/boot/external-url.d.ts.map +1 -0
- package/dist/boot/external-url.js +66 -0
- package/dist/boot/external-url.js.map +1 -0
- package/dist/boot/host-argv.d.ts +7 -0
- package/dist/boot/host-argv.d.ts.map +1 -0
- package/dist/boot/host-argv.js +8 -0
- package/dist/boot/host-argv.js.map +1 -0
- package/dist/boot/host-bootstrap.d.ts +37 -0
- package/dist/boot/host-bootstrap.d.ts.map +1 -0
- package/dist/boot/host-bootstrap.js +60 -0
- package/dist/boot/host-bootstrap.js.map +1 -0
- package/dist/boot/providers.d.ts +35 -0
- package/dist/boot/providers.d.ts.map +1 -0
- package/dist/boot/providers.js +155 -0
- package/dist/boot/providers.js.map +1 -0
- package/dist/boot/schemas/external-url.d.ts +11 -0
- package/dist/boot/schemas/external-url.d.ts.map +1 -0
- package/dist/boot/schemas/external-url.js +3 -0
- package/dist/boot/schemas/external-url.js.map +1 -0
- package/dist/boot/schemas/host-bootstrap.d.ts +7 -0
- package/dist/boot/schemas/host-bootstrap.d.ts.map +1 -0
- package/dist/boot/schemas/host-bootstrap.js +3 -0
- package/dist/boot/schemas/host-bootstrap.js.map +1 -0
- package/dist/boot/schemas/providers.d.ts +23 -0
- package/dist/boot/schemas/providers.d.ts.map +1 -0
- package/dist/boot/schemas/providers.js +3 -0
- package/dist/boot/schemas/providers.js.map +1 -0
- package/dist/boot/schemas/types.d.ts +4 -0
- package/dist/boot/schemas/types.d.ts.map +1 -0
- package/dist/{api → boot}/schemas/types.js.map +1 -1
- package/dist/boot/tui-plugin-policy.d.ts +8 -0
- package/dist/boot/tui-plugin-policy.d.ts.map +1 -0
- package/dist/boot/tui-plugin-policy.js +26 -0
- package/dist/boot/tui-plugin-policy.js.map +1 -0
- package/dist/boot/version.d.ts +13 -0
- package/dist/boot/version.d.ts.map +1 -0
- package/dist/boot/version.js +14 -0
- package/dist/boot/version.js.map +1 -0
- package/dist/bun/index.d.ts +2 -0
- package/dist/bun/index.d.ts.map +1 -0
- package/dist/bun/index.js +2 -0
- package/dist/bun/index.js.map +1 -0
- package/dist/bun/interactive-host.d.ts +9 -0
- package/dist/bun/interactive-host.d.ts.map +1 -0
- package/dist/bun/interactive-host.js +18 -0
- package/dist/bun/interactive-host.js.map +1 -0
- package/dist/commands/cli.kinds.d.ts +1239 -0
- package/dist/commands/cli.kinds.d.ts.map +1 -0
- package/dist/commands/cli.kinds.js +138 -0
- package/dist/commands/cli.kinds.js.map +1 -0
- package/dist/commands/cli.plugin.d.ts +22 -0
- package/dist/commands/cli.plugin.d.ts.map +1 -0
- package/dist/commands/cli.plugin.js +138 -0
- package/dist/commands/cli.plugin.js.map +1 -0
- package/dist/commands/completion/bash.d.ts +1 -1
- package/dist/commands/completion/bash.d.ts.map +1 -1
- package/dist/commands/completion/bash.impl.consumer.d.ts +6 -0
- package/dist/commands/completion/bash.impl.consumer.d.ts.map +1 -0
- package/dist/commands/completion/bash.impl.consumer.js +6 -0
- package/dist/commands/completion/bash.impl.consumer.js.map +1 -0
- package/dist/commands/completion/bash.js +4 -2
- package/dist/commands/completion/bash.js.map +1 -1
- package/dist/commands/completion/completion.consumer.plugin.d.ts +3 -0
- package/dist/commands/completion/completion.consumer.plugin.d.ts.map +1 -0
- package/dist/commands/completion/completion.consumer.plugin.js +19 -0
- package/dist/commands/completion/completion.consumer.plugin.js.map +1 -0
- package/dist/commands/completion/completion.descriptor.d.ts +1 -2
- package/dist/commands/completion/completion.descriptor.d.ts.map +1 -1
- package/dist/commands/completion/completion.descriptor.js +11 -4
- package/dist/commands/completion/completion.descriptor.js.map +1 -1
- package/dist/commands/completion/completion.descriptors.d.ts +3 -0
- package/dist/commands/completion/completion.descriptors.d.ts.map +1 -0
- package/dist/commands/completion/completion.descriptors.js +56 -0
- package/dist/commands/completion/completion.descriptors.js.map +1 -0
- package/dist/commands/completion/completion.impl.d.ts +5 -4
- package/dist/commands/completion/completion.impl.d.ts.map +1 -1
- package/dist/commands/completion/completion.impl.js +104 -145
- package/dist/commands/completion/completion.impl.js.map +1 -1
- package/dist/commands/completion/completion.install.impl.consumer.d.ts +4 -0
- package/dist/commands/completion/completion.install.impl.consumer.d.ts.map +1 -0
- package/dist/commands/completion/completion.install.impl.consumer.js +102 -0
- package/dist/commands/completion/completion.install.impl.consumer.js.map +1 -0
- package/dist/commands/completion/completion.kinds.d.ts +43 -0
- package/dist/commands/completion/completion.kinds.d.ts.map +1 -0
- package/dist/commands/completion/completion.kinds.js +17 -0
- package/dist/commands/completion/completion.kinds.js.map +1 -0
- package/dist/commands/completion/fig.d.ts +1 -1
- package/dist/commands/completion/fig.d.ts.map +1 -1
- package/dist/commands/completion/fig.impl.consumer.d.ts +6 -0
- package/dist/commands/completion/fig.impl.consumer.d.ts.map +1 -0
- package/dist/commands/completion/fig.impl.consumer.js +6 -0
- package/dist/commands/completion/fig.impl.consumer.js.map +1 -0
- package/dist/commands/completion/fish.d.ts +1 -1
- package/dist/commands/completion/fish.d.ts.map +1 -1
- package/dist/commands/completion/fish.impl.consumer.d.ts +6 -0
- package/dist/commands/completion/fish.impl.consumer.d.ts.map +1 -0
- package/dist/commands/completion/fish.impl.consumer.js +6 -0
- package/dist/commands/completion/fish.impl.consumer.js.map +1 -0
- package/dist/commands/completion/tree.d.ts +5 -26
- package/dist/commands/completion/tree.d.ts.map +1 -1
- package/dist/commands/completion/tree.js +26 -25
- package/dist/commands/completion/tree.js.map +1 -1
- package/dist/commands/completion/zsh-widget.js +4 -4
- package/dist/commands/completion/zsh.d.ts +1 -1
- package/dist/commands/completion/zsh.d.ts.map +1 -1
- package/dist/commands/completion/zsh.impl.consumer.d.ts +6 -0
- package/dist/commands/completion/zsh.impl.consumer.d.ts.map +1 -0
- package/dist/commands/completion/zsh.impl.consumer.js +6 -0
- package/dist/commands/completion/zsh.impl.consumer.js.map +1 -0
- package/dist/commands/completion/zsh.js +1 -1
- package/dist/commands/completion/zsh.js.map +1 -1
- package/dist/commands/docs/cli.commands.docs.descriptor.d.ts +8 -0
- package/dist/commands/docs/cli.commands.docs.descriptor.d.ts.map +1 -0
- package/dist/commands/docs/cli.commands.docs.descriptor.js +55 -0
- package/dist/commands/docs/cli.commands.docs.descriptor.js.map +1 -0
- package/dist/commands/docs/cli.docs.descriptor.d.ts +4 -0
- package/dist/commands/docs/cli.docs.descriptor.d.ts.map +1 -0
- package/dist/commands/docs/cli.docs.descriptor.js +44 -0
- package/dist/commands/docs/cli.docs.descriptor.js.map +1 -0
- package/dist/commands/docs/cli.groups.docs.descriptor.d.ts +4 -0
- package/dist/commands/docs/cli.groups.docs.descriptor.d.ts.map +1 -0
- package/dist/commands/docs/cli.groups.docs.descriptor.js +40 -0
- package/dist/commands/docs/cli.groups.docs.descriptor.js.map +1 -0
- package/dist/commands/docs/cli.output.docs.descriptor.d.ts +4 -0
- package/dist/commands/docs/cli.output.docs.descriptor.d.ts.map +1 -0
- package/dist/commands/docs/cli.output.docs.descriptor.js +45 -0
- package/dist/commands/docs/cli.output.docs.descriptor.js.map +1 -0
- package/dist/commands/docs/content/cli-commands.json +1 -0
- package/dist/commands/docs/content/cli-groups.json +1 -0
- package/dist/commands/docs/content/cli-output.json +1 -0
- package/dist/commands/docs/doc-paths.d.ts +11 -0
- package/dist/commands/docs/doc-paths.d.ts.map +1 -0
- package/dist/commands/docs/doc-paths.js +32 -0
- package/dist/commands/docs/doc-paths.js.map +1 -0
- package/dist/commands/docs/generate.d.ts +48 -0
- package/dist/commands/docs/generate.d.ts.map +1 -0
- package/dist/commands/docs/generate.js +121 -0
- package/dist/commands/docs/generate.js.map +1 -0
- package/dist/commands/docs/render-command.d.ts +5 -0
- package/dist/commands/docs/render-command.d.ts.map +1 -0
- package/dist/commands/docs/render-command.js +117 -0
- package/dist/commands/docs/render-command.js.map +1 -0
- package/dist/commands/docs/render-group.d.ts +5 -0
- package/dist/commands/docs/render-group.d.ts.map +1 -0
- package/dist/commands/docs/render-group.js +62 -0
- package/dist/commands/docs/render-group.js.map +1 -0
- package/dist/commands/docs/schemas/generate.d.ts +14 -0
- package/dist/commands/docs/schemas/generate.d.ts.map +1 -0
- package/dist/commands/docs/schemas/generate.js +3 -0
- package/dist/commands/docs/schemas/generate.js.map +1 -0
- package/dist/commands/output.d.ts +27 -0
- package/dist/commands/output.d.ts.map +1 -0
- package/dist/commands/output.js +104 -0
- package/dist/commands/output.js.map +1 -0
- package/dist/commands/profile/_utils.d.ts +34 -9
- package/dist/commands/profile/_utils.d.ts.map +1 -1
- package/dist/commands/profile/_utils.js +65 -37
- package/dist/commands/profile/_utils.js.map +1 -1
- package/dist/commands/profile/profile-env.d.ts +42 -0
- package/dist/commands/profile/profile-env.d.ts.map +1 -0
- package/dist/commands/profile/profile-env.js +56 -0
- package/dist/commands/profile/profile-env.js.map +1 -0
- package/dist/commands/profile/profile-group.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile-group.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.create.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile.create.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.create.descriptor.js +12 -1
- package/dist/commands/profile/profile.create.descriptor.js.map +1 -1
- package/dist/commands/profile/profile.create.impl.d.ts +2 -6
- package/dist/commands/profile/profile.create.impl.d.ts.map +1 -1
- package/dist/commands/profile/profile.create.impl.js +32 -9
- package/dist/commands/profile/profile.create.impl.js.map +1 -1
- package/dist/commands/profile/profile.delete.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile.delete.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.delete.impl.d.ts +2 -7
- package/dist/commands/profile/profile.delete.impl.d.ts.map +1 -1
- package/dist/commands/profile/profile.delete.impl.js +33 -16
- package/dist/commands/profile/profile.delete.impl.js.map +1 -1
- package/dist/commands/profile/profile.environment.descriptor.d.ts +4 -0
- package/dist/commands/profile/profile.environment.descriptor.d.ts.map +1 -0
- package/dist/commands/profile/profile.environment.descriptor.js +26 -0
- package/dist/commands/profile/profile.environment.descriptor.js.map +1 -0
- package/dist/commands/profile/profile.environment.impl.d.ts +14 -0
- package/dist/commands/profile/profile.environment.impl.d.ts.map +1 -0
- package/dist/commands/profile/profile.environment.impl.js +33 -0
- package/dist/commands/profile/profile.environment.impl.js.map +1 -0
- package/dist/commands/profile/profile.info.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile.info.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.info.descriptor.js +5 -1
- package/dist/commands/profile/profile.info.descriptor.js.map +1 -1
- package/dist/commands/profile/profile.info.impl.d.ts +5 -2
- package/dist/commands/profile/profile.info.impl.d.ts.map +1 -1
- package/dist/commands/profile/profile.info.impl.js +31 -14
- package/dist/commands/profile/profile.info.impl.js.map +1 -1
- package/dist/commands/profile/profile.list.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile.list.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.list.descriptor.js +5 -1
- package/dist/commands/profile/profile.list.descriptor.js.map +1 -1
- package/dist/commands/profile/profile.list.impl.d.ts +17 -2
- package/dist/commands/profile/profile.list.impl.d.ts.map +1 -1
- package/dist/commands/profile/profile.list.impl.js +52 -25
- package/dist/commands/profile/profile.list.impl.js.map +1 -1
- package/dist/commands/profile/profile.use.descriptor.d.ts +1 -1
- package/dist/commands/profile/profile.use.descriptor.d.ts.map +1 -1
- package/dist/commands/profile/profile.use.impl.d.ts +2 -6
- package/dist/commands/profile/profile.use.impl.d.ts.map +1 -1
- package/dist/commands/profile/profile.use.impl.js +40 -10
- package/dist/commands/profile/profile.use.impl.js.map +1 -1
- package/dist/commands/runtime/codegen.command.descriptor.d.ts +26 -12
- package/dist/commands/runtime/codegen.command.descriptor.d.ts.map +1 -1
- package/dist/commands/runtime/codegen.command.descriptor.js +24 -6
- package/dist/commands/runtime/codegen.command.descriptor.js.map +1 -1
- package/dist/commands/runtime/codegen.command.impl.d.ts +15 -2
- package/dist/commands/runtime/codegen.command.impl.d.ts.map +1 -1
- package/dist/commands/runtime/codegen.command.impl.js +17 -30
- package/dist/commands/runtime/codegen.command.impl.js.map +1 -1
- package/dist/commands/runtime/codegen.d.ts +10 -14
- package/dist/commands/runtime/codegen.d.ts.map +1 -1
- package/dist/commands/runtime/codegen.declarations.d.ts +6 -0
- package/dist/commands/runtime/codegen.declarations.d.ts.map +1 -0
- package/dist/commands/runtime/codegen.declarations.js +6 -0
- package/dist/commands/runtime/codegen.declarations.js.map +1 -0
- package/dist/commands/runtime/codegen.js +85 -58
- package/dist/commands/runtime/codegen.js.map +1 -1
- package/dist/commands/runtime/export/markdown-document.d.ts +25 -0
- package/dist/commands/runtime/export/markdown-document.d.ts.map +1 -0
- package/dist/commands/runtime/export/markdown-document.js +38 -0
- package/dist/commands/runtime/export/markdown-document.js.map +1 -0
- package/dist/commands/runtime/export/markdown.d.ts +17 -0
- package/dist/commands/runtime/export/markdown.d.ts.map +1 -0
- package/dist/commands/runtime/export/markdown.js +141 -0
- package/dist/commands/runtime/export/markdown.js.map +1 -0
- package/dist/commands/runtime/export/read.d.ts +27 -0
- package/dist/commands/runtime/export/read.d.ts.map +1 -0
- package/dist/commands/runtime/export/read.js +128 -0
- package/dist/commands/runtime/export/read.js.map +1 -0
- package/dist/commands/runtime/export/reading-notes.d.ts +11 -0
- package/dist/commands/runtime/export/reading-notes.d.ts.map +1 -0
- package/dist/commands/runtime/export/reading-notes.js +45 -0
- package/dist/commands/runtime/export/reading-notes.js.map +1 -0
- package/dist/commands/runtime/export/register.d.ts +34 -0
- package/dist/commands/runtime/export/register.d.ts.map +1 -0
- package/dist/commands/runtime/export/register.js +57 -0
- package/dist/commands/runtime/export/register.js.map +1 -0
- package/dist/commands/runtime/export/schemas.d.ts +104 -0
- package/dist/commands/runtime/export/schemas.d.ts.map +1 -0
- package/dist/commands/runtime/export/schemas.js +38 -0
- package/dist/commands/runtime/export/schemas.js.map +1 -0
- package/dist/commands/runtime/export/write.d.ts +16 -0
- package/dist/commands/runtime/export/write.d.ts.map +1 -0
- package/dist/commands/runtime/export/write.js +36 -0
- package/dist/commands/runtime/export/write.js.map +1 -0
- package/dist/commands/runtime/export.command.impl.d.ts +18 -0
- package/dist/commands/runtime/export.command.impl.d.ts.map +1 -0
- package/dist/commands/runtime/export.command.impl.js +39 -0
- package/dist/commands/runtime/export.command.impl.js.map +1 -0
- package/dist/commands/runtime/export.d.ts +28 -0
- package/dist/commands/runtime/export.d.ts.map +1 -0
- package/dist/commands/runtime/export.descriptor.d.ts +55 -0
- package/dist/commands/runtime/export.descriptor.d.ts.map +1 -0
- package/dist/commands/runtime/export.descriptor.js +58 -0
- package/dist/commands/runtime/export.descriptor.js.map +1 -0
- package/dist/commands/runtime/export.js +28 -0
- package/dist/commands/runtime/export.js.map +1 -0
- package/dist/commands/runtime/index.d.ts +2 -2
- package/dist/commands/runtime/index.d.ts.map +1 -1
- package/dist/commands/runtime/index.js +3 -3
- package/dist/commands/runtime/index.js.map +1 -1
- package/dist/commands/runtime/plugin.d.ts +1 -1
- package/dist/commands/runtime/plugin.d.ts.map +1 -1
- package/dist/commands/runtime/plugin.js +1 -1
- package/dist/commands/runtime/plugin.js.map +1 -1
- package/dist/commands/runtime/runtime-group.descriptor.d.ts +1 -1
- package/dist/commands/runtime/runtime-group.descriptor.d.ts.map +1 -1
- package/dist/commands/schemas/output.d.ts +26 -0
- package/dist/commands/schemas/output.d.ts.map +1 -0
- package/dist/commands/schemas/output.js +14 -0
- package/dist/commands/schemas/output.js.map +1 -0
- package/dist/commands/schemas/profile-environment.d.ts +6 -0
- package/dist/commands/schemas/profile-environment.d.ts.map +1 -0
- package/dist/commands/schemas/profile-environment.js +3 -0
- package/dist/commands/schemas/profile-environment.js.map +1 -0
- package/dist/commands/schemas/profile-list.d.ts +22 -0
- package/dist/commands/schemas/profile-list.d.ts.map +1 -0
- package/dist/commands/schemas/profile-list.js +3 -0
- package/dist/commands/schemas/profile-list.js.map +1 -0
- package/dist/commands/skills/_skills.d.ts +98 -0
- package/dist/commands/skills/_skills.d.ts.map +1 -0
- package/dist/commands/skills/_skills.js +183 -0
- package/dist/commands/skills/_skills.js.map +1 -0
- package/dist/commands/skills/skills-group.descriptor.d.ts +4 -0
- package/dist/commands/skills/skills-group.descriptor.d.ts.map +1 -0
- package/dist/commands/skills/skills-group.descriptor.js +12 -0
- package/dist/commands/skills/skills-group.descriptor.js.map +1 -0
- package/dist/commands/skills/skills.install.descriptor.d.ts +4 -0
- package/dist/commands/skills/skills.install.descriptor.d.ts.map +1 -0
- package/dist/commands/skills/skills.install.descriptor.js +37 -0
- package/dist/commands/skills/skills.install.descriptor.js.map +1 -0
- package/dist/commands/skills/skills.install.impl.d.ts +12 -0
- package/dist/commands/skills/skills.install.impl.d.ts.map +1 -0
- package/dist/commands/skills/skills.install.impl.js +65 -0
- package/dist/commands/skills/skills.install.impl.js.map +1 -0
- package/dist/commands/skills/skills.list.descriptor.d.ts +4 -0
- package/dist/commands/skills/skills.list.descriptor.d.ts.map +1 -0
- package/dist/commands/skills/skills.list.descriptor.js +23 -0
- package/dist/commands/skills/skills.list.descriptor.js.map +1 -0
- package/dist/commands/skills/skills.list.impl.d.ts +11 -0
- package/dist/commands/skills/skills.list.impl.d.ts.map +1 -0
- package/dist/commands/skills/skills.list.impl.js +69 -0
- package/dist/commands/skills/skills.list.impl.js.map +1 -0
- package/dist/core/runtime/shared/context.d.ts +16 -16
- package/dist/core/runtime/shared/context.d.ts.map +1 -1
- package/dist/core/runtime/shared/context.js +20 -35
- package/dist/core/runtime/shared/context.js.map +1 -1
- package/dist/core/runtime/shared/options.d.ts +5 -19
- package/dist/core/runtime/shared/options.d.ts.map +1 -1
- package/dist/core/runtime/shared/options.js +87 -42
- package/dist/core/runtime/shared/options.js.map +1 -1
- package/dist/design-inventory.d.ts +23 -0
- package/dist/design-inventory.d.ts.map +1 -0
- package/dist/design-inventory.js +66 -0
- package/dist/design-inventory.js.map +1 -0
- package/dist/index.d.ts +12 -21
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -25
- package/dist/index.js.map +1 -1
- package/dist/invocation/client.d.ts +20 -0
- package/dist/invocation/client.d.ts.map +1 -0
- package/dist/invocation/client.js +25 -0
- package/dist/invocation/client.js.map +1 -0
- package/dist/invocation/state.d.ts +10 -0
- package/dist/invocation/state.d.ts.map +1 -0
- package/dist/invocation/state.js +32 -0
- package/dist/invocation/state.js.map +1 -0
- package/dist/patterns/builtins/config-namespace-commands.d.ts +10 -0
- package/dist/patterns/builtins/config-namespace-commands.d.ts.map +1 -0
- package/dist/patterns/builtins/config-namespace-commands.js +132 -0
- package/dist/patterns/builtins/config-namespace-commands.js.map +1 -0
- package/dist/patterns/builtins/config-namespace-output.d.ts +9 -0
- package/dist/patterns/builtins/config-namespace-output.d.ts.map +1 -0
- package/dist/patterns/builtins/config-namespace-output.js +31 -0
- package/dist/patterns/builtins/config-namespace-output.js.map +1 -0
- package/dist/patterns/builtins/config-namespace.d.ts +23 -0
- package/dist/patterns/builtins/config-namespace.d.ts.map +1 -0
- package/dist/patterns/builtins/config-namespace.js +70 -0
- package/dist/patterns/builtins/config-namespace.js.map +1 -0
- package/dist/patterns/builtins/crud-commands.d.ts +11 -0
- package/dist/patterns/builtins/crud-commands.d.ts.map +1 -0
- package/dist/patterns/builtins/crud-commands.js +105 -0
- package/dist/patterns/builtins/crud-commands.js.map +1 -0
- package/dist/patterns/builtins/crud-output.d.ts +7 -0
- package/dist/patterns/builtins/crud-output.d.ts.map +1 -0
- package/dist/patterns/builtins/crud-output.js +21 -0
- package/dist/patterns/builtins/crud-output.js.map +1 -0
- package/dist/patterns/builtins/crud.d.ts +16 -0
- package/dist/patterns/builtins/crud.d.ts.map +1 -0
- package/dist/patterns/builtins/crud.js +38 -0
- package/dist/patterns/builtins/crud.js.map +1 -0
- package/dist/patterns/{log-viewer.d.ts → builtins/log-viewer.d.ts} +5 -5
- package/dist/patterns/builtins/log-viewer.d.ts.map +1 -0
- package/dist/patterns/{log-viewer.js → builtins/log-viewer.js} +31 -9
- package/dist/patterns/builtins/log-viewer.js.map +1 -0
- package/dist/patterns/builtins/output.d.ts +5 -0
- package/dist/patterns/builtins/output.d.ts.map +1 -0
- package/dist/patterns/builtins/output.js +25 -0
- package/dist/patterns/builtins/output.js.map +1 -0
- package/dist/patterns/{process-manager.d.ts → builtins/process-manager.d.ts} +9 -4
- package/dist/patterns/builtins/process-manager.d.ts.map +1 -0
- package/dist/patterns/{process-manager.js → builtins/process-manager.js} +46 -29
- package/dist/patterns/builtins/process-manager.js.map +1 -0
- package/dist/patterns/builtins/tool-wrapper.d.ts +18 -0
- package/dist/patterns/builtins/tool-wrapper.d.ts.map +1 -0
- package/dist/patterns/builtins/tool-wrapper.js +124 -0
- package/dist/patterns/builtins/tool-wrapper.js.map +1 -0
- package/dist/patterns/cli-value.d.ts +3 -0
- package/dist/patterns/cli-value.d.ts.map +1 -0
- package/dist/patterns/cli-value.js +42 -0
- package/dist/patterns/cli-value.js.map +1 -0
- package/dist/patterns/index.d.ts +5 -9
- package/dist/patterns/index.d.ts.map +1 -1
- package/dist/patterns/index.js +5 -9
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/pattern.kinds.d.ts +30 -0
- package/dist/patterns/pattern.kinds.d.ts.map +1 -0
- package/dist/patterns/pattern.kinds.js +8 -0
- package/dist/patterns/pattern.kinds.js.map +1 -0
- package/dist/patterns/resolver.d.ts +11 -32
- package/dist/patterns/resolver.d.ts.map +1 -1
- package/dist/patterns/resolver.js +14 -45
- package/dist/patterns/resolver.js.map +1 -1
- package/dist/patterns/schemas.d.ts +9 -492
- package/dist/patterns/schemas.d.ts.map +1 -1
- package/dist/patterns/schemas.js +5 -94
- package/dist/patterns/schemas.js.map +1 -1
- package/dist/schemas/bootstrap.d.ts +242 -0
- package/dist/schemas/bootstrap.d.ts.map +1 -0
- package/dist/schemas/bootstrap.js +7 -0
- package/dist/schemas/bootstrap.js.map +1 -0
- package/dist/schemas/command-implementation.d.ts +34 -0
- package/dist/schemas/command-implementation.d.ts.map +1 -0
- package/dist/schemas/command-implementation.js +31 -0
- package/dist/schemas/command-implementation.js.map +1 -0
- package/dist/schemas/command-recommendations.d.ts +9 -0
- package/dist/schemas/command-recommendations.d.ts.map +1 -0
- package/dist/schemas/command-recommendations.js +14 -0
- package/dist/schemas/command-recommendations.js.map +1 -0
- package/dist/schemas/completion.d.ts +118 -0
- package/dist/schemas/completion.d.ts.map +1 -0
- package/dist/schemas/completion.js +63 -0
- package/dist/schemas/completion.js.map +1 -0
- package/dist/schemas/descriptors.d.ts +1 -129
- package/dist/schemas/descriptors.d.ts.map +1 -1
- package/dist/schemas/descriptors.js +1 -95
- package/dist/schemas/descriptors.js.map +1 -1
- package/dist/schemas/design-inventory.d.ts +20 -0
- package/dist/schemas/design-inventory.d.ts.map +1 -0
- package/dist/schemas/design-inventory.js +10 -0
- package/dist/schemas/design-inventory.js.map +1 -0
- package/dist/schemas/discovery.d.ts +17 -0
- package/dist/schemas/discovery.d.ts.map +1 -0
- package/dist/schemas/discovery.js +15 -0
- package/dist/schemas/discovery.js.map +1 -0
- package/dist/schemas/exit.d.ts +33 -0
- package/dist/schemas/exit.d.ts.map +1 -0
- package/dist/schemas/exit.js +20 -0
- package/dist/schemas/exit.js.map +1 -0
- package/dist/schemas/interactive-host.d.ts +10 -0
- package/dist/schemas/interactive-host.d.ts.map +1 -0
- package/dist/schemas/interactive-host.js +11 -0
- package/dist/schemas/interactive-host.js.map +1 -0
- package/dist/schemas/output-format.d.ts +61 -0
- package/dist/schemas/output-format.d.ts.map +1 -0
- package/dist/schemas/output-format.js +26 -0
- package/dist/schemas/output-format.js.map +1 -0
- package/dist/schemas/pattern-implementation.d.ts +1572 -0
- package/dist/schemas/pattern-implementation.d.ts.map +1 -0
- package/dist/schemas/pattern-implementation.js +12 -0
- package/dist/schemas/pattern-implementation.js.map +1 -0
- package/dist/schemas/pattern-input.d.ts +152 -0
- package/dist/schemas/pattern-input.d.ts.map +1 -0
- package/dist/schemas/pattern-input.js +194 -0
- package/dist/schemas/pattern-input.js.map +1 -0
- package/dist/schemas/pm-context.d.ts +17 -0
- package/dist/schemas/pm-context.d.ts.map +1 -0
- package/dist/schemas/pm-context.js +13 -0
- package/dist/schemas/pm-context.js.map +1 -0
- package/dist/schemas/prompts.d.ts +61 -0
- package/dist/schemas/prompts.d.ts.map +1 -0
- package/dist/schemas/prompts.js +43 -0
- package/dist/schemas/prompts.js.map +1 -0
- package/dist/schemas/runtime-codegen.d.ts +191 -0
- package/dist/schemas/runtime-codegen.d.ts.map +1 -0
- package/dist/schemas/runtime-codegen.js +83 -0
- package/dist/schemas/runtime-codegen.js.map +1 -0
- package/dist/schemas/surface.d.ts +33 -20
- package/dist/schemas/surface.d.ts.map +1 -1
- package/dist/schemas/surface.js +2 -1
- package/dist/schemas/surface.js.map +1 -1
- package/dist/schemas/terminal-input.d.ts +15 -0
- package/dist/schemas/terminal-input.d.ts.map +1 -0
- package/dist/schemas/terminal-input.js +13 -0
- package/dist/schemas/terminal-input.js.map +1 -0
- package/dist/schemas/types.d.ts +1 -201
- package/dist/schemas/types.d.ts.map +1 -1
- package/dist/support/cli-inventory.generated.d.ts +4 -0
- package/dist/support/cli-inventory.generated.d.ts.map +1 -0
- package/dist/support/cli-inventory.generated.js +31 -0
- package/dist/support/cli-inventory.generated.js.map +1 -0
- package/dist/support/logging/cli-startup.logger.descriptor.d.ts.map +1 -0
- package/dist/support/logging/cli-startup.logger.descriptor.js.map +1 -0
- package/dist/support/logging/logging.d.ts +8 -0
- package/dist/support/logging/logging.d.ts.map +1 -0
- package/dist/support/logging/logging.js +13 -0
- package/dist/support/logging/logging.js.map +1 -0
- package/dist/support/terminal-input.d.ts +11 -0
- package/dist/support/terminal-input.d.ts.map +1 -0
- package/dist/support/terminal-input.js +39 -0
- package/dist/support/terminal-input.js.map +1 -0
- package/dist/support/ui/context.descriptor.d.ts +35 -0
- package/dist/support/ui/context.descriptor.d.ts.map +1 -0
- package/dist/{ui.context.descriptor.js → support/ui/context.descriptor.js} +2 -2
- package/dist/support/ui/context.descriptor.js.map +1 -0
- package/dist/support/ui/format.client.d.ts +42 -0
- package/dist/support/ui/format.client.d.ts.map +1 -0
- package/dist/support/ui/format.client.js +92 -0
- package/dist/support/ui/format.client.js.map +1 -0
- package/dist/support/ui/format.kinds.d.ts +30 -0
- package/dist/support/ui/format.kinds.d.ts.map +1 -0
- package/dist/support/ui/format.kinds.js +8 -0
- package/dist/support/ui/format.kinds.js.map +1 -0
- package/dist/support/ui/format.plugin.d.ts +7 -0
- package/dist/support/ui/format.plugin.d.ts.map +1 -0
- package/dist/support/ui/format.plugin.js +23 -0
- package/dist/support/ui/format.plugin.js.map +1 -0
- package/dist/support/ui/formats.d.ts +4 -0
- package/dist/support/ui/formats.d.ts.map +1 -0
- package/dist/support/ui/formats.js +34 -0
- package/dist/support/ui/formats.js.map +1 -0
- package/dist/support/ui/prompts.d.ts +9 -0
- package/dist/support/ui/prompts.d.ts.map +1 -0
- package/dist/support/ui/prompts.js +99 -0
- package/dist/support/ui/prompts.js.map +1 -0
- package/dist/support/ui/schemas/types.d.ts +2 -0
- package/dist/support/ui/schemas/types.d.ts.map +1 -0
- package/dist/support/ui/schemas/types.js.map +1 -0
- package/dist/support/ui/schemas/ui-toolkit.d.ts +45 -0
- package/dist/support/ui/schemas/ui-toolkit.d.ts.map +1 -0
- package/dist/support/ui/schemas/ui-toolkit.js +2 -0
- package/dist/support/ui/schemas/ui-toolkit.js.map +1 -0
- package/dist/support/ui/showcase.d.ts +18 -0
- package/dist/support/ui/showcase.d.ts.map +1 -0
- package/dist/support/ui/showcase.js +101 -0
- package/dist/support/ui/showcase.js.map +1 -0
- package/dist/support/ui/table.d.ts +28 -0
- package/dist/support/ui/table.d.ts.map +1 -0
- package/dist/support/ui/table.js +74 -0
- package/dist/support/ui/table.js.map +1 -0
- package/dist/support/ui/toolkit.d.ts +56 -0
- package/dist/support/ui/toolkit.d.ts.map +1 -0
- package/dist/support/ui/toolkit.js +130 -0
- package/dist/support/ui/toolkit.js.map +1 -0
- package/dist/support/vibesdev/index.d.ts +2 -0
- package/dist/support/vibesdev/index.d.ts.map +1 -0
- package/dist/support/vibesdev/index.js +3 -0
- package/dist/support/vibesdev/index.js.map +1 -0
- package/dist/surface/CLISurface.d.ts +77 -3
- package/dist/surface/CLISurface.d.ts.map +1 -1
- package/dist/surface/CLISurface.js +642 -98
- package/dist/surface/CLISurface.js.map +1 -1
- package/dist/surface/argument-name.d.ts +14 -0
- package/dist/surface/argument-name.d.ts.map +1 -0
- package/dist/surface/argument-name.js +23 -0
- package/dist/surface/argument-name.js.map +1 -0
- package/dist/surface/attach-tui-action.d.ts +35 -9
- package/dist/surface/attach-tui-action.d.ts.map +1 -1
- package/dist/surface/attach-tui-action.js +50 -43
- package/dist/surface/attach-tui-action.js.map +1 -1
- package/dist/surface/build-context.d.ts +2 -2
- package/dist/surface/build-context.d.ts.map +1 -1
- package/dist/surface/build-context.js +26 -44
- package/dist/surface/build-context.js.map +1 -1
- package/dist/surface/command-group-policy.d.ts +2 -3
- package/dist/surface/command-group-policy.d.ts.map +1 -1
- package/dist/surface/command-group-policy.js +1 -11
- package/dist/surface/command-group-policy.js.map +1 -1
- package/dist/surface/command-implementation.d.ts +9 -0
- package/dist/surface/command-implementation.d.ts.map +1 -0
- package/dist/surface/command-implementation.js +19 -0
- package/dist/surface/command-implementation.js.map +1 -0
- package/dist/surface/command-options.d.ts +29 -0
- package/dist/surface/command-options.d.ts.map +1 -0
- package/dist/surface/command-options.js +57 -0
- package/dist/surface/command-options.js.map +1 -0
- package/dist/surface/commander-action.d.ts +25 -0
- package/dist/surface/commander-action.d.ts.map +1 -0
- package/dist/surface/commander-action.js +38 -0
- package/dist/surface/commander-action.js.map +1 -0
- package/dist/surface/discovery-cache.d.ts +3 -15
- package/dist/surface/discovery-cache.d.ts.map +1 -1
- package/dist/surface/discovery-cache.js +6 -33
- package/dist/surface/discovery-cache.js.map +1 -1
- package/dist/surface/exit.d.ts +10 -0
- package/dist/surface/exit.d.ts.map +1 -0
- package/dist/surface/exit.js +33 -0
- package/dist/surface/exit.js.map +1 -0
- package/dist/surface/failure-of.d.ts +9 -0
- package/dist/surface/failure-of.d.ts.map +1 -0
- package/dist/surface/failure-of.js +17 -0
- package/dist/surface/failure-of.js.map +1 -0
- package/dist/surface/failure-output.d.ts +50 -0
- package/dist/surface/failure-output.d.ts.map +1 -0
- package/dist/surface/failure-output.js +84 -0
- package/dist/surface/failure-output.js.map +1 -0
- package/dist/surface/failure-report.d.ts +78 -0
- package/dist/surface/failure-report.d.ts.map +1 -0
- package/dist/surface/failure-report.js +229 -0
- package/dist/surface/failure-report.js.map +1 -0
- package/dist/surface/group-fallback.d.ts +32 -0
- package/dist/surface/group-fallback.d.ts.map +1 -0
- package/dist/surface/group-fallback.js +78 -0
- package/dist/surface/group-fallback.js.map +1 -0
- package/dist/surface/index.d.ts +10 -0
- package/dist/surface/index.d.ts.map +1 -0
- package/dist/surface/index.js +8 -0
- package/dist/surface/index.js.map +1 -0
- package/dist/surface/inherited-options.d.ts +28 -0
- package/dist/surface/inherited-options.d.ts.map +1 -0
- package/dist/surface/inherited-options.js +108 -0
- package/dist/surface/inherited-options.js.map +1 -0
- package/dist/surface/interactive-gate.d.ts +41 -0
- package/dist/surface/interactive-gate.d.ts.map +1 -0
- package/dist/surface/interactive-gate.js +112 -0
- package/dist/surface/interactive-gate.js.map +1 -0
- package/dist/surface/invocation-actions.d.ts +40 -0
- package/dist/surface/invocation-actions.d.ts.map +1 -0
- package/dist/surface/invocation-actions.js +78 -0
- package/dist/surface/invocation-actions.js.map +1 -0
- package/dist/surface/invocation-effects.d.ts +11 -0
- package/dist/surface/invocation-effects.d.ts.map +1 -0
- package/dist/surface/invocation-effects.js +52 -0
- package/dist/surface/invocation-effects.js.map +1 -0
- package/dist/surface/invocation-lifecycle.d.ts +49 -0
- package/dist/surface/invocation-lifecycle.d.ts.map +1 -0
- package/dist/surface/invocation-lifecycle.js +127 -0
- package/dist/surface/invocation-lifecycle.js.map +1 -0
- package/dist/surface/output-format-request.d.ts +23 -0
- package/dist/surface/output-format-request.d.ts.map +1 -0
- package/dist/surface/output-format-request.js +116 -0
- package/dist/surface/output-format-request.js.map +1 -0
- package/dist/surface/pm-context.d.ts +5 -0
- package/dist/surface/pm-context.d.ts.map +1 -0
- package/dist/surface/pm-context.js +69 -0
- package/dist/surface/pm-context.js.map +1 -0
- package/dist/surface/register-commands.d.ts +24 -4
- package/dist/surface/register-commands.d.ts.map +1 -1
- package/dist/surface/register-commands.js +156 -63
- package/dist/surface/register-commands.js.map +1 -1
- package/dist/surface/register-groups.d.ts +4 -4
- package/dist/surface/register-groups.d.ts.map +1 -1
- package/dist/surface/register-groups.js +71 -9
- package/dist/surface/register-groups.js.map +1 -1
- package/dist/surface/schemas/CLISurface.d.ts +31 -0
- package/dist/surface/schemas/CLISurface.d.ts.map +1 -0
- package/dist/surface/schemas/CLISurface.js +2 -0
- package/dist/surface/schemas/CLISurface.js.map +1 -0
- package/dist/surface/schemas/command-implementation.d.ts +20 -0
- package/dist/surface/schemas/command-implementation.d.ts.map +1 -0
- package/dist/surface/schemas/command-implementation.js +2 -0
- package/dist/surface/schemas/command-implementation.js.map +1 -0
- package/dist/surface/schemas/interactive-gate.d.ts +29 -0
- package/dist/surface/schemas/interactive-gate.d.ts.map +1 -0
- package/dist/surface/schemas/interactive-gate.js +2 -0
- package/dist/surface/schemas/interactive-gate.js.map +1 -0
- package/package.json +276 -140
- package/SPEC.md +0 -97
- package/bin/vibes.ts +0 -26
- package/dist/api/client/factory.d.ts +0 -29
- package/dist/api/client/factory.d.ts.map +0 -1
- package/dist/api/client/factory.js +0 -189
- package/dist/api/client/factory.js.map +0 -1
- package/dist/api/schemas/common.d.ts +0 -58
- package/dist/api/schemas/common.d.ts.map +0 -1
- package/dist/api/schemas/common.js +0 -48
- package/dist/api/schemas/common.js.map +0 -1
- package/dist/api/schemas/types.d.ts +0 -30
- package/dist/api/schemas/types.d.ts.map +0 -1
- package/dist/api/services/api.d.ts +0 -14
- package/dist/api/services/api.d.ts.map +0 -1
- package/dist/api/services/api.js +0 -110
- package/dist/api/services/api.js.map +0 -1
- package/dist/api/types.d.ts +0 -6
- package/dist/api/types.d.ts.map +0 -1
- package/dist/api/types.js +0 -5
- package/dist/api/types.js.map +0 -1
- package/dist/bin.d.ts +0 -28
- package/dist/bin.d.ts.map +0 -1
- package/dist/bin.js +0 -73
- package/dist/bin.js.map +0 -1
- package/dist/bootstrap.d.ts +0 -14
- package/dist/bootstrap.d.ts.map +0 -1
- package/dist/bootstrap.js +0 -14
- package/dist/bootstrap.js.map +0 -1
- package/dist/cli.plugin.d.ts +0 -20
- package/dist/cli.plugin.d.ts.map +0 -1
- package/dist/cli.plugin.js +0 -170
- package/dist/cli.plugin.js.map +0 -1
- package/dist/commands/runtime/_logging.d.ts +0 -11
- package/dist/commands/runtime/_logging.d.ts.map +0 -1
- package/dist/commands/runtime/_logging.js +0 -40
- package/dist/commands/runtime/_logging.js.map +0 -1
- package/dist/config.d.ts +0 -17
- package/dist/config.d.ts.map +0 -1
- package/dist/config.js.map +0 -1
- package/dist/core/index.d.ts +0 -9
- package/dist/core/index.d.ts.map +0 -1
- package/dist/core/index.js +0 -5
- package/dist/core/index.js.map +0 -1
- package/dist/core/namespace/hook.d.ts +0 -12
- package/dist/core/namespace/hook.d.ts.map +0 -1
- package/dist/core/namespace/hook.js +0 -15
- package/dist/core/namespace/hook.js.map +0 -1
- package/dist/core/namespace/index.d.ts +0 -18
- package/dist/core/namespace/index.d.ts.map +0 -1
- package/dist/core/namespace/index.js +0 -214
- package/dist/core/namespace/index.js.map +0 -1
- package/dist/core/namespace/schemas/index.d.ts +0 -25
- package/dist/core/namespace/schemas/index.d.ts.map +0 -1
- package/dist/core/namespace/schemas/index.js +0 -2
- package/dist/core/namespace/schemas/index.js.map +0 -1
- package/dist/core/plugins/types.d.ts +0 -81
- package/dist/core/plugins/types.d.ts.map +0 -1
- package/dist/core/plugins/types.js +0 -6
- package/dist/core/plugins/types.js.map +0 -1
- package/dist/core/runtime/context.d.ts +0 -25
- package/dist/core/runtime/context.d.ts.map +0 -1
- package/dist/core/runtime/context.js +0 -30
- package/dist/core/runtime/context.js.map +0 -1
- package/dist/core/runtime/hooks.d.ts +0 -12
- package/dist/core/runtime/hooks.d.ts.map +0 -1
- package/dist/core/runtime/hooks.js +0 -2
- package/dist/core/runtime/hooks.js.map +0 -1
- package/dist/core/schemas/manifest.d.ts +0 -24
- package/dist/core/schemas/manifest.d.ts.map +0 -1
- package/dist/core/schemas/manifest.js +0 -6
- package/dist/core/schemas/manifest.js.map +0 -1
- package/dist/core/schemas/types.d.ts +0 -7
- package/dist/core/schemas/types.d.ts.map +0 -1
- package/dist/core/schemas/types.js.map +0 -1
- package/dist/core/ui/interface.d.ts +0 -12
- package/dist/core/ui/interface.d.ts.map +0 -1
- package/dist/core/ui/interface.js +0 -6
- package/dist/core/ui/interface.js.map +0 -1
- package/dist/docs/cli.commands.docs.descriptor.d.ts +0 -4
- package/dist/docs/cli.commands.docs.descriptor.d.ts.map +0 -1
- package/dist/docs/cli.commands.docs.descriptor.js +0 -207
- package/dist/docs/cli.commands.docs.descriptor.js.map +0 -1
- package/dist/docs/cli.groups.docs.descriptor.d.ts +0 -4
- package/dist/docs/cli.groups.docs.descriptor.d.ts.map +0 -1
- package/dist/docs/cli.groups.docs.descriptor.js +0 -330
- package/dist/docs/cli.groups.docs.descriptor.js.map +0 -1
- package/dist/docs/cli.output.docs.descriptor.d.ts +0 -4
- package/dist/docs/cli.output.docs.descriptor.d.ts.map +0 -1
- package/dist/docs/cli.output.docs.descriptor.js +0 -442
- package/dist/docs/cli.output.docs.descriptor.js.map +0 -1
- package/dist/docs/types.d.ts +0 -19
- package/dist/docs/types.d.ts.map +0 -1
- package/dist/docs/types.js +0 -2
- package/dist/docs/types.js.map +0 -1
- package/dist/errors.d.ts +0 -74
- package/dist/errors.d.ts.map +0 -1
- package/dist/errors.js +0 -113
- package/dist/errors.js.map +0 -1
- package/dist/logging/cli-startup.logger.descriptor.d.ts.map +0 -1
- package/dist/logging/cli-startup.logger.descriptor.js.map +0 -1
- package/dist/logging.d.ts +0 -4
- package/dist/logging.d.ts.map +0 -1
- package/dist/logging.js +0 -21
- package/dist/logging.js.map +0 -1
- package/dist/patterns/config-namespace.d.ts +0 -23
- package/dist/patterns/config-namespace.d.ts.map +0 -1
- package/dist/patterns/config-namespace.js +0 -218
- package/dist/patterns/config-namespace.js.map +0 -1
- package/dist/patterns/crud.d.ts +0 -23
- package/dist/patterns/crud.d.ts.map +0 -1
- package/dist/patterns/crud.js +0 -164
- package/dist/patterns/crud.js.map +0 -1
- package/dist/patterns/log-viewer.d.ts.map +0 -1
- package/dist/patterns/log-viewer.js.map +0 -1
- package/dist/patterns/pattern-types.d.ts +0 -21
- package/dist/patterns/pattern-types.d.ts.map +0 -1
- package/dist/patterns/pattern-types.js +0 -7
- package/dist/patterns/pattern-types.js.map +0 -1
- package/dist/patterns/process-manager.d.ts.map +0 -1
- package/dist/patterns/process-manager.js.map +0 -1
- package/dist/patterns/resolver.contracts.d.ts +0 -14
- package/dist/patterns/resolver.contracts.d.ts.map +0 -1
- package/dist/patterns/resolver.contracts.js +0 -9
- package/dist/patterns/resolver.contracts.js.map +0 -1
- package/dist/patterns/tool-wrapper.d.ts +0 -18
- package/dist/patterns/tool-wrapper.d.ts.map +0 -1
- package/dist/patterns/tool-wrapper.js +0 -130
- package/dist/patterns/tool-wrapper.js.map +0 -1
- package/dist/providers.d.ts +0 -105
- package/dist/providers.d.ts.map +0 -1
- package/dist/providers.js +0 -164
- package/dist/providers.js.map +0 -1
- package/dist/support/ui-toolkit.d.ts +0 -62
- package/dist/support/ui-toolkit.d.ts.map +0 -1
- package/dist/support/ui-toolkit.js +0 -172
- package/dist/support/ui-toolkit.js.map +0 -1
- package/dist/surface.d.ts +0 -9
- package/dist/surface.d.ts.map +0 -1
- package/dist/surface.js +0 -8
- package/dist/surface.js.map +0 -1
- package/dist/types.d.ts +0 -4
- package/dist/types.d.ts.map +0 -1
- package/dist/types.js +0 -2
- package/dist/types.js.map +0 -1
- package/dist/ui/schemas/types.d.ts +0 -2
- package/dist/ui/schemas/types.d.ts.map +0 -1
- package/dist/ui/schemas/types.js +0 -2
- package/dist/ui/schemas/types.js.map +0 -1
- package/dist/ui/toolkit/VibesUIToolkit.d.ts +0 -2
- package/dist/ui/toolkit/VibesUIToolkit.d.ts.map +0 -1
- package/dist/ui/toolkit/VibesUIToolkit.js +0 -2
- package/dist/ui/toolkit/VibesUIToolkit.js.map +0 -1
- package/dist/ui.context.descriptor.d.ts +0 -21
- package/dist/ui.context.descriptor.d.ts.map +0 -1
- package/dist/ui.context.descriptor.js.map +0 -1
- package/dist/utils/open.d.ts +0 -2
- package/dist/utils/open.d.ts.map +0 -1
- package/dist/utils/open.js +0 -30
- package/dist/utils/open.js.map +0 -1
- package/dist/version.d.ts +0 -2
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -2
- package/dist/version.js.map +0 -1
- package/src/api/client/factory.ts +0 -265
- package/src/api/schemas/common.ts +0 -50
- package/src/api/schemas/types.ts +0 -32
- package/src/api/services/api.ts +0 -129
- package/src/api/types.ts +0 -12
- package/src/bin.ts +0 -84
- package/src/bootstrap.ts +0 -19
- package/src/cli.plugin.d.ts +0 -19
- package/src/cli.plugin.ts +0 -202
- package/src/commands/completion/bash.ts +0 -68
- package/src/commands/completion/completion.descriptor.ts +0 -48
- package/src/commands/completion/completion.impl.ts +0 -188
- package/src/commands/completion/fig.ts +0 -78
- package/src/commands/completion/fish.ts +0 -52
- package/src/commands/completion/tree.ts +0 -115
- package/src/commands/completion/zsh-widget.ts +0 -39
- package/src/commands/completion/zsh.ts +0 -165
- package/src/commands/profile/_utils.ts +0 -72
- package/src/commands/profile/profile-group.descriptor.ts +0 -14
- package/src/commands/profile/profile.create.descriptor.ts +0 -24
- package/src/commands/profile/profile.create.impl.ts +0 -44
- package/src/commands/profile/profile.delete.descriptor.ts +0 -31
- package/src/commands/profile/profile.delete.impl.ts +0 -71
- package/src/commands/profile/profile.info.descriptor.ts +0 -25
- package/src/commands/profile/profile.info.impl.ts +0 -51
- package/src/commands/profile/profile.list.descriptor.ts +0 -18
- package/src/commands/profile/profile.list.impl.ts +0 -46
- package/src/commands/profile/profile.use.descriptor.ts +0 -25
- package/src/commands/profile/profile.use.impl.ts +0 -39
- package/src/commands/runtime/_logging.ts +0 -47
- package/src/commands/runtime/codegen.command.descriptor.ts +0 -18
- package/src/commands/runtime/codegen.command.impl.ts +0 -44
- package/src/commands/runtime/codegen.ts +0 -84
- package/src/commands/runtime/index.ts +0 -14
- package/src/commands/runtime/plugin.ts +0 -7
- package/src/commands/runtime/runtime-group.descriptor.ts +0 -12
- package/src/config.ts +0 -22
- package/src/core/index.ts +0 -9
- package/src/core/namespace/hook.ts +0 -25
- package/src/core/namespace/index.ts +0 -298
- package/src/core/namespace/schemas/index.ts +0 -25
- package/src/core/plugins/types.ts +0 -87
- package/src/core/runtime/context.ts +0 -50
- package/src/core/runtime/hooks.ts +0 -12
- package/src/core/runtime/shared/context.ts +0 -65
- package/src/core/runtime/shared/options.ts +0 -60
- package/src/core/schemas/manifest.ts +0 -26
- package/src/core/schemas/types.ts +0 -6
- package/src/core/ui/interface.ts +0 -12
- package/src/docs/cli.commands.docs.descriptor.ts +0 -210
- package/src/docs/cli.groups.docs.descriptor.ts +0 -333
- package/src/docs/cli.output.docs.descriptor.ts +0 -445
- package/src/docs/types.ts +0 -18
- package/src/errors.ts +0 -123
- package/src/index.ts +0 -76
- package/src/logging/cli-startup.logger.descriptor.ts +0 -16
- package/src/logging.ts +0 -35
- package/src/patterns/config-namespace.ts +0 -251
- package/src/patterns/crud.ts +0 -217
- package/src/patterns/index.ts +0 -24
- package/src/patterns/log-viewer.ts +0 -118
- package/src/patterns/pattern-types.ts +0 -22
- package/src/patterns/process-manager.ts +0 -180
- package/src/patterns/resolver.contracts.ts +0 -15
- package/src/patterns/resolver.ts +0 -86
- package/src/patterns/schemas.ts +0 -146
- package/src/patterns/tool-wrapper.ts +0 -165
- package/src/providers.ts +0 -282
- package/src/schemas/descriptors.d.ts +0 -119
- package/src/schemas/descriptors.ts +0 -136
- package/src/schemas/surface.ts +0 -52
- package/src/schemas/types.d.ts +0 -195
- package/src/schemas/types.ts +0 -225
- package/src/support/ui-toolkit.ts +0 -224
- package/src/surface/CLISurface.ts +0 -193
- package/src/surface/attach-tui-action.ts +0 -76
- package/src/surface/build-context.ts +0 -49
- package/src/surface/command-group-policy.ts +0 -52
- package/src/surface/discovery-cache.ts +0 -143
- package/src/surface/register-commands.ts +0 -266
- package/src/surface/register-groups.ts +0 -84
- package/src/surface.ts +0 -9
- package/src/types.ts +0 -3
- package/src/ui/schemas/types.ts +0 -1
- package/src/ui/toolkit/VibesUIToolkit.ts +0 -1
- package/src/ui.context.descriptor.ts +0 -13
- package/src/utils/open.ts +0 -36
- package/src/version.ts +0 -10
- /package/dist/{api → boot}/schemas/types.js +0 -0
- /package/dist/{logging → support/logging}/cli-startup.logger.descriptor.d.ts +0 -0
- /package/dist/{logging → support/logging}/cli-startup.logger.descriptor.js +0 -0
- /package/dist/{core → support/ui}/schemas/types.js +0 -0
|
@@ -1,21 +1,46 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Profile command utilities
|
|
3
3
|
*
|
|
4
|
-
* Shared helpers for scanning profile directories and formatting output.
|
|
5
|
-
*
|
|
4
|
+
* Shared helpers for scanning profile directories and formatting output. Every
|
|
5
|
+
* read and write goes through the handed runtime: its published path roots
|
|
6
|
+
* (`getPathRoots`), its path mechanics for a named profile's home (the paths
|
|
7
|
+
* owner's `createPathRoots`, which also refuses `.` and `..`), and its
|
|
8
|
+
* filesystem kind (`resolveFileSystemAdapter`).
|
|
6
9
|
*/
|
|
10
|
+
import * as z from 'zod/v4';
|
|
11
|
+
import type { FileSystemAdapterInterface } from '@vibesdotdev/filesystem';
|
|
12
|
+
import { type PathRoots, type RuntimePath } from '@vibesdotdev/paths';
|
|
13
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel/api/runtime';
|
|
7
14
|
export declare const GREEN = "\u001B[32m";
|
|
8
15
|
export declare const GRAY = "\u001B[90m";
|
|
9
16
|
export declare const YELLOW = "\u001B[33m";
|
|
10
17
|
export declare const RED = "\u001B[31m";
|
|
11
18
|
export declare const BOLD = "\u001B[1m";
|
|
12
19
|
export declare const RESET = "\u001B[0m";
|
|
20
|
+
/** A command's `name` argument: the text given, or absent. */
|
|
21
|
+
export declare const ProfileNameArgumentSchema: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
13
22
|
export declare function validateProfileName(name: string): string;
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare function
|
|
23
|
+
/** The runtime's profile storage: its roots, its path mechanics and its filesystem. */
|
|
24
|
+
export interface ProfileStore {
|
|
25
|
+
readonly roots: PathRoots;
|
|
26
|
+
readonly runtimePath: RuntimePath;
|
|
27
|
+
readonly fs: FileSystemAdapterInterface;
|
|
28
|
+
}
|
|
29
|
+
export declare function openProfileStore(runtime: VibesRuntime): Promise<ProfileStore>;
|
|
30
|
+
/**
|
|
31
|
+
* Resolve the base vibes home directory for the active runtime.
|
|
32
|
+
*
|
|
33
|
+
* Compatibility surface for profile commands. Directory authority belongs to
|
|
34
|
+
* the immutable paths/roots descriptor selected at runtime bootstrap; the
|
|
35
|
+
* caller reads it from the runtime it was handed (`getPathRoots(runtime)`).
|
|
36
|
+
*/
|
|
37
|
+
export declare function getVibesBaseDir(roots: PathRoots): string;
|
|
38
|
+
export declare function getProfilesDir(roots: PathRoots): string;
|
|
39
|
+
/** Absolute path to a specific profile's home directory, as the paths owner places it. */
|
|
40
|
+
export declare function getProfileHome(name: string, store: Pick<ProfileStore, 'roots' | 'runtimePath'>): string;
|
|
41
|
+
export declare function getActiveProfile(roots: PathRoots): string | undefined;
|
|
42
|
+
export declare function listProfiles(store: ProfileStore): Promise<string[]>;
|
|
43
|
+
export declare function profileExists(name: string, store: ProfileStore): Promise<boolean>;
|
|
44
|
+
export declare function createProfileDir(name: string, store: ProfileStore): Promise<void>;
|
|
45
|
+
export declare function deleteProfileDir(name: string, store: ProfileStore): Promise<void>;
|
|
21
46
|
//# sourceMappingURL=_utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/_utils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"_utils.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/_utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAiD,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,eAAO,MAAM,KAAK,eAAa,CAAC;A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,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAEvF"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Profile command utilities
|
|
3
3
|
*
|
|
4
|
-
* Shared helpers for scanning profile directories and formatting output.
|
|
5
|
-
*
|
|
4
|
+
* Shared helpers for scanning profile directories and formatting output. Every
|
|
5
|
+
* read and write goes through the handed runtime: its published path roots
|
|
6
|
+
* (`getPathRoots`), its path mechanics for a named profile's home (the paths
|
|
7
|
+
* owner's `createPathRoots`, which also refuses `.` and `..`), and its
|
|
8
|
+
* filesystem kind (`resolveFileSystemAdapter`).
|
|
6
9
|
*/
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { getRuntimeEnv } from '@vibesdotdev/runtime';
|
|
10
|
+
import * as z from 'zod/v4';
|
|
11
|
+
import { resolveFileSystemAdapter } from '@vibesdotdev/filesystem/client';
|
|
12
|
+
import { createPathRoots, getPathRoots, getRuntimePath } from '@vibesdotdev/paths';
|
|
11
13
|
export const GREEN = '\x1b[32m';
|
|
12
14
|
export const GRAY = '\x1b[90m';
|
|
13
15
|
export const YELLOW = '\x1b[33m';
|
|
@@ -15,47 +17,73 @@ export const RED = '\x1b[31m';
|
|
|
15
17
|
export const BOLD = '\x1b[1m';
|
|
16
18
|
export const RESET = '\x1b[0m';
|
|
17
19
|
const VALID_PROFILE_NAME = /^[a-zA-Z0-9._-]+$/;
|
|
20
|
+
/** A profile name; `.` and `..` would name the profiles directory or its parent. */
|
|
21
|
+
const ProfileNameSchema = z
|
|
22
|
+
.string()
|
|
23
|
+
.min(1, 'Profile name is required')
|
|
24
|
+
.max(64, 'Profile name must be 64 characters or fewer')
|
|
25
|
+
.regex(VALID_PROFILE_NAME, 'Profile name may only contain letters, numbers, dots, hyphens, and underscores')
|
|
26
|
+
.refine((name) => name !== '.' && name !== '..', 'Profile name may not be . or ..');
|
|
27
|
+
/** A command's `name` argument: the text given, or absent. */
|
|
28
|
+
export const ProfileNameArgumentSchema = z.string().optional().catch(undefined);
|
|
18
29
|
export function validateProfileName(name) {
|
|
19
|
-
|
|
20
|
-
|
|
30
|
+
const parsed = ProfileNameSchema.safeParse(name);
|
|
31
|
+
if (!parsed.success) {
|
|
32
|
+
throw new Error(parsed.error.issues[0]?.message ?? 'Profile name is invalid', { cause: parsed.error });
|
|
21
33
|
}
|
|
22
|
-
|
|
23
|
-
throw new Error('Profile name must be 64 characters or fewer');
|
|
24
|
-
}
|
|
25
|
-
if (!VALID_PROFILE_NAME.test(name)) {
|
|
26
|
-
throw new Error('Profile name may only contain letters, numbers, dots, hyphens, and underscores');
|
|
27
|
-
}
|
|
28
|
-
return name;
|
|
34
|
+
return parsed.data;
|
|
29
35
|
}
|
|
30
|
-
export function
|
|
31
|
-
return
|
|
36
|
+
export async function openProfileStore(runtime) {
|
|
37
|
+
return {
|
|
38
|
+
roots: getPathRoots(runtime),
|
|
39
|
+
runtimePath: await getRuntimePath(runtime),
|
|
40
|
+
fs: await resolveFileSystemAdapter(runtime, { binding: false })
|
|
41
|
+
};
|
|
32
42
|
}
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Resolve the base vibes home directory for the active runtime.
|
|
45
|
+
*
|
|
46
|
+
* Compatibility surface for profile commands. Directory authority belongs to
|
|
47
|
+
* the immutable paths/roots descriptor selected at runtime bootstrap; the
|
|
48
|
+
* caller reads it from the runtime it was handed (`getPathRoots(runtime)`).
|
|
49
|
+
*/
|
|
50
|
+
export function getVibesBaseDir(roots) {
|
|
51
|
+
return roots.vibesHome;
|
|
35
52
|
}
|
|
36
|
-
export function
|
|
37
|
-
|
|
38
|
-
|
|
53
|
+
export function getProfilesDir(roots) {
|
|
54
|
+
return roots.profilesDir;
|
|
55
|
+
}
|
|
56
|
+
/** Absolute path to a specific profile's home directory, as the paths owner places it. */
|
|
57
|
+
export function getProfileHome(name, store) {
|
|
58
|
+
return createPathRoots({
|
|
59
|
+
runtimePath: store.runtimePath,
|
|
60
|
+
userHome: store.roots.userHome,
|
|
61
|
+
vibesHome: store.roots.vibesHome,
|
|
62
|
+
profileName: name
|
|
63
|
+
}).activeHome;
|
|
64
|
+
}
|
|
65
|
+
export function getActiveProfile(roots) {
|
|
66
|
+
return roots.profileName;
|
|
67
|
+
}
|
|
68
|
+
export async function listProfiles(store) {
|
|
69
|
+
const dir = getProfilesDir(store.roots);
|
|
70
|
+
if (!(await store.fs.exists(dir)))
|
|
39
71
|
return [];
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
72
|
+
// The filesystem kind reports a link as a link and never follows it, so a symlinked entry is not a profile.
|
|
73
|
+
const entries = await store.fs.list(dir);
|
|
74
|
+
return entries.filter((entry) => entry.kind === 'directory').map((entry) => entry.name);
|
|
44
75
|
}
|
|
45
|
-
export function profileExists(name) {
|
|
46
|
-
const path =
|
|
47
|
-
return
|
|
76
|
+
export async function profileExists(name, store) {
|
|
77
|
+
const path = getProfileHome(name, store);
|
|
78
|
+
return (await store.fs.exists(path)) && (await store.fs.stat(path)).kind === 'directory';
|
|
48
79
|
}
|
|
49
|
-
export function createProfileDir(name) {
|
|
50
|
-
const base =
|
|
80
|
+
export async function createProfileDir(name, store) {
|
|
81
|
+
const base = getProfileHome(name, store);
|
|
51
82
|
for (const sub of ['config', 'data', 'cache', 'logs']) {
|
|
52
|
-
|
|
83
|
+
await store.fs.mkdir(store.fs.join(base, sub), { recursive: true });
|
|
53
84
|
}
|
|
54
85
|
}
|
|
55
|
-
export function deleteProfileDir(name) {
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
export function log(msg) {
|
|
59
|
-
process.stderr.write(msg + '\n');
|
|
86
|
+
export async function deleteProfileDir(name, store) {
|
|
87
|
+
await store.fs.remove(getProfileHome(name, store), { recursive: true });
|
|
60
88
|
}
|
|
61
89
|
//# sourceMappingURL=_utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_utils.js","sourceRoot":"","sources":["../../../src/commands/profile/_utils.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"_utils.js","sourceRoot":"","sources":["../../../src/commands/profile/_utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAE1E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,cAAc,EAAoC,MAAM,oBAAoB,CAAC;AAGrH,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAAC;AAChC,MAAM,CAAC,MAAM,IAAI,GAAG,UAAU,CAAC;AAC/B,MAAM,CAAC,MAAM,MAAM,GAAG,UAAU,CAAC;AACjC,MAAM,CAAC,MAAM,GAAG,GAAG,UAAU,CAAC;AAC9B,MAAM,CAAC,MAAM,IAAI,GAAG,SAAS,CAAC;AAC9B,MAAM,CAAC,MAAM,KAAK,GAAG,SAAS,CAAC;AAE/B,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAE/C,oFAAoF;AACpF,MAAM,iBAAiB,GAAG,CAAC;KACzB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,0BAA0B,CAAC;KAClC,GAAG,CAAC,EAAE,EAAE,6CAA6C,CAAC;KACtD,KAAK,CAAC,kBAAkB,EAAE,gFAAgF,CAAC;KAC3G,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,IAAI,EAAE,iCAAiC,CAAC,CAAC;AAErF,8DAA8D;AAC9D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AAEhF,MAAM,UAAU,mBAAmB,CAAC,IAAY;IAC/C,MAA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AmB;IACvE,MAAM,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;AACzE,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile <-> environment binding helpers.
|
|
3
|
+
*
|
|
4
|
+
* A profile is more than a set of empty directories: it carries a persisted
|
|
5
|
+
* environment selection inside its own home, so
|
|
6
|
+
* that activating the profile (via `eval "$(vibes profile use <name>)"`) switches
|
|
7
|
+
* BOTH the credential/config home and the active environment.
|
|
8
|
+
*
|
|
9
|
+
* This reuses the EXISTING environment manifest machinery
|
|
10
|
+
* (saveCurrentEnvironmentSelection / loadCurrentEnvironmentSelection from
|
|
11
|
+
* @vibesdotdev/config/environment/current) rather than inventing a parallel
|
|
12
|
+
* config system. That manifest resolves against the host's own profile, which
|
|
13
|
+
* the host declared once at capture; another profile's selection is the same
|
|
14
|
+
* manifest bound to that profile's roots
|
|
15
|
+
* (`@vibesdotdev/config/environment/profile-environment`), read and written in
|
|
16
|
+
* process. Nothing re-enters the CLI.
|
|
17
|
+
*/
|
|
18
|
+
import type { VibesRuntime } from '@vibesdotdev/kernel';
|
|
19
|
+
import { type ResolvedVibesEnvironment } from '@vibesdotdev/config/environment/resolve-app-origin';
|
|
20
|
+
/**
|
|
21
|
+
* Minimal structural view of an environment descriptor — only the fields the
|
|
22
|
+
* profile commands surface (id, apiUrl, the per-app auth origin). Declared
|
|
23
|
+
* locally because the full descriptor type lives at a deep path that is not
|
|
24
|
+
* re-exported from @vibesdotdev/config.
|
|
25
|
+
*/
|
|
26
|
+
export type ProfileEnvironmentDescriptor = Pick<ResolvedVibesEnvironment, 'id' | 'apiUrl' | 'apps'>;
|
|
27
|
+
/** Default environment a newly created profile should bind to. */
|
|
28
|
+
export declare function defaultProfileEnvironmentId(runtime: VibesRuntime): string;
|
|
29
|
+
/** Resolve a registered environment descriptor through the handed runtime. */
|
|
30
|
+
export declare function getEnvironmentDescriptor(id: string, runtime: VibesRuntime): Promise<ProfileEnvironmentDescriptor | undefined>;
|
|
31
|
+
/** The environment selection bound to this host's own profile. */
|
|
32
|
+
export declare function readActiveProfileEnvironment(runtime: VibesRuntime): Promise<string | null>;
|
|
33
|
+
/** Bind this host's own profile to an environment. */
|
|
34
|
+
export declare function writeActiveProfileEnvironment(runtime: VibesRuntime, environmentId: string): Promise<void>;
|
|
35
|
+
/** Persist an environment selection into a specific profile's home. */
|
|
36
|
+
export declare function setProfileEnvironment(runtime: VibesRuntime, name: string, environmentId: string): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Read the persisted environment id for a specific profile, or null if the
|
|
39
|
+
* profile has no environment bound yet.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getProfileEnvironment(runtime: VibesRuntime, name: string): Promise<string | null>;
|
|
42
|
+
//# sourceMappingURL=profile-env.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile-env.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile-env.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAIxD,OAAO,EAA2B,KAAK,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAE5H;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GAAG,IAAI,CAAC,wBAAwB,EAAE,IAAI,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAC;AAEpG,kEAAkE;AAClE,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,YAAY,GAAG,MAAM,CAEzE;AAED,8EAA8E;AAC9E,wBAAsB,wBAAwB,CAC7C,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,YAAY,GACnB,OAAO,CAAC,4BAA4B,GAAG,SAAS,CAAC,CAEnD;AAED,kEAAkE;AAClE,wBAAsB,4BAA4B,CAAC,OAAO,EAAE,YAAY,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAEhG;AAED,sDAAsD;AACtD,wBAAsB,6BAA6B,CAClD,OAAO,EAAE,YAAY,EACrB,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAEf;AAED,uEAAuE;AACvE,wBAAsB,qBAAqB,CAC1C,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,MAAM,EACZ,aAAa,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAMf;AAED;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGvG"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Profile <-> environment binding helpers.
|
|
3
|
+
*
|
|
4
|
+
* A profile is more than a set of empty directories: it carries a persisted
|
|
5
|
+
* environment selection inside its own home, so
|
|
6
|
+
* that activating the profile (via `eval "$(vibes profile use <name>)"`) switches
|
|
7
|
+
* BOTH the credential/config home and the active environment.
|
|
8
|
+
*
|
|
9
|
+
* This reuses the EXISTING environment manifest machinery
|
|
10
|
+
* (saveCurrentEnvironmentSelection / loadCurrentEnvironmentSelection from
|
|
11
|
+
* @vibesdotdev/config/environment/current) rather than inventing a parallel
|
|
12
|
+
* config system. That manifest resolves against the host's own profile, which
|
|
13
|
+
* the host declared once at capture; another profile's selection is the same
|
|
14
|
+
* manifest bound to that profile's roots
|
|
15
|
+
* (`@vibesdotdev/config/environment/profile-environment`), read and written in
|
|
16
|
+
* process. Nothing re-enters the CLI.
|
|
17
|
+
*/
|
|
18
|
+
import { saveCurrentEnvironmentSelection, loadCurrentEnvironmentSelection } from '@vibesdotdev/config/environment/current';
|
|
19
|
+
import { getPathRoots } from '@vibesdotdev/paths';
|
|
20
|
+
import { readProfileEnvironment, writeProfileEnvironment } from '@vibesdotdev/config/environment/profile-environment';
|
|
21
|
+
import { resolveDefaultEnvironmentId } from '@vibesdotdev/config/env.runtime';
|
|
22
|
+
import { resolveVibesEnvironment } from '@vibesdotdev/config/environment/resolve-app-origin';
|
|
23
|
+
/** Default environment a newly created profile should bind to. */
|
|
24
|
+
export function defaultProfileEnvironmentId(runtime) {
|
|
25
|
+
return resolveDefaultEnvironmentId(runtime);
|
|
26
|
+
}
|
|
27
|
+
/** Resolve a registered environment descriptor through the handed runtime. */
|
|
28
|
+
export async function getEnvironmentDescriptor(id, runtime) {
|
|
29
|
+
return await resolveVibesEnvironment({ environmentId: id, fallbackToActive: false }, runtime) ?? undefined;
|
|
30
|
+
}
|
|
31
|
+
/** The environment selection bound to this host's own profile. */
|
|
32
|
+
export async function readActiveProfileEnvironment(runtime) {
|
|
33
|
+
return loadCurrentEnvironmentSelection(runtime);
|
|
34
|
+
}
|
|
35
|
+
/** Bind this host's own profile to an environment. */
|
|
36
|
+
export async function writeActiveProfileEnvironment(runtime, environmentId) {
|
|
37
|
+
await saveCurrentEnvironmentSelection(runtime, environmentId);
|
|
38
|
+
}
|
|
39
|
+
/** Persist an environment selection into a specific profile's home. */
|
|
40
|
+
export async function setProfileEnvironment(runtime, name, environmentId) {
|
|
41
|
+
if (name === getPathRoots(runtime).profileName) {
|
|
42
|
+
await writeActiveProfileEnvironment(runtime, environmentId);
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
await writeProfileEnvironment(runtime, name, environmentId);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Read the persisted environment id for a specific profile, or null if the
|
|
49
|
+
* profile has no environment bound yet.
|
|
50
|
+
*/
|
|
51
|
+
export async function getProfileEnvironment(runtime, name) {
|
|
52
|
+
if (name === getPathRoots(runtime).profileName)
|
|
53
|
+
return readActiveProfileEnvironment(runtime);
|
|
54
|
+
return readProfileEnvironment(runtime, name);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=profile-env.js.map
|
|
@@ -0,0 +1 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CAAC;QAC5D,OAAO;IACR,CAAC;IACD,MAAM,uBAAuB,CAAC,OAAO,EAAE,IAAI,EAAE,aAAa,CAAC,CAAC;AAC7D,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAAC,OAAqB,EAAE,IAAY;IAC9E,IAAI,IAAI,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW;QAAE,OAAO,4BAA4B,CAAC,OAAO,CAAC,CAAC;IAC7F,OAAO,sBAAsB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAC9C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CLIGroupAssetDescriptor } from '../../schemas/descriptors';
|
|
1
|
+
import type { CLIGroupAssetDescriptor } from '../../schemas/descriptors.ts';
|
|
2
2
|
declare const descriptor: CLIGroupAssetDescriptor;
|
|
3
3
|
export default descriptor;
|
|
4
4
|
//# sourceMappingURL=profile-group.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-group.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile-group.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,QAAA,MAAM,UAAU,EAAE,uBASjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CLICommandAssetDescriptor } from '../../schemas/descriptors';
|
|
1
|
+
import type { CLICommandAssetDescriptor } from '../../schemas/descriptors.ts';
|
|
2
2
|
declare const descriptor: CLICommandAssetDescriptor;
|
|
3
3
|
export default descriptor;
|
|
4
4
|
//# sourceMappingURL=profile.create.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.create.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile.create.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE9E,QAAA,MAAM,UAAU,EAAE,yBA8BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -11,8 +11,19 @@ const descriptor = {
|
|
|
11
11
|
required: true
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
|
+
options: [
|
|
15
|
+
{
|
|
16
|
+
flags: '--env <environment>',
|
|
17
|
+
description: 'Registered environment id; defaults to the Config runtime default.',
|
|
18
|
+
type: 'string'
|
|
19
|
+
}
|
|
20
|
+
],
|
|
14
21
|
examples: [
|
|
15
|
-
{ command: 'vibes profile create work', description: 'Create a new profile named "work"' }
|
|
22
|
+
{ command: 'vibes profile create work', description: 'Create a new profile named "work"' },
|
|
23
|
+
{
|
|
24
|
+
command: 'vibes profile create work --env production',
|
|
25
|
+
description: 'Create a "work" profile bound to the production environment'
|
|
26
|
+
}
|
|
16
27
|
],
|
|
17
28
|
surfaces: ['cli'],
|
|
18
29
|
hardware: ['consumer'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.create.descriptor.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAA8B;IAC7C,IAAI,EAAE,aAAa;IACnB,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,sBAAsB;IACnC,KAAK,EAAE,SAAS;IAChB,SAAS,EAAE;QACV;YACC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;SACd;KACD;IACD,QAAQ,EAAE;QACT,EAAE,OAAO,EAAE,2BAA2B,EAAE,WAAW,EAAE,mCAAmC,EAAE;
|
|
1
|
+
{"version":3,"file":"profile.create.descriptor.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAA8B;IAC7C,IAAI,EAAE,aAAa;IACnB,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,sBAAsB;IACnC,KAAK,EAAE,SAAS;IAChB,SAAS,EAAE;QACV;YACC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,+BAA+B;YAC5C,QAAQ,EAAE,IAAI;SACd;KACD;IACD,OAAO,EAAE;QACR;YACC,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,oEAAoE;YACjF,IAAI,EAAE,QAAQ;SACd;KACD;IACD,QAAQ,EAAE;QACT,EAAE,OAAO,EAAE,2BAA2B,EAAE,WAAW,EAAE,mCAAmC,EAAE;QAC1F;YACC,OAAO,EAAE,4CAA4C;YACrD,WAAW,EAAE,6DAA6D;SAC1E;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,CAAC;IACtB,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* Profile Create Implementation
|
|
3
|
-
*
|
|
4
|
-
* Creates ~/.vibes/profile/{name}/ along with config/, data/, cache/, logs/.
|
|
5
|
-
*/
|
|
1
|
+
import type { CommandContext, CommandOptions } from '../../schemas/surface.ts';
|
|
6
2
|
declare const _default: {
|
|
7
|
-
execute(args:
|
|
3
|
+
execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
8
4
|
};
|
|
9
5
|
export default _default;
|
|
10
6
|
//# sourceMappingURL=profile.create.impl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.create.impl.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.impl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile.create.impl.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.impl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;;kBA8B1D,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AADlG,wBA6CE"}
|
|
@@ -1,28 +1,51 @@
|
|
|
1
|
+
import { requestCLIExit } from "../../boot/providers.js";
|
|
2
|
+
import { commandWriters } from "../../commands/output.js";
|
|
3
|
+
import * as z from 'zod/v4';
|
|
1
4
|
/**
|
|
2
5
|
* Profile Create Implementation
|
|
3
6
|
*
|
|
4
|
-
* Creates
|
|
7
|
+
* Creates {base}/profile/{name}/ along with config/, data/, cache/, logs/ and
|
|
8
|
+
* binds the profile to a registered Config environment. Every
|
|
9
|
+
* local surface shares the selected base; the profile name supplies isolation,
|
|
10
|
+
* while its environment binding is metadata inside that one profile.
|
|
5
11
|
*/
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
12
|
+
import { profileExists, createProfileDir, validateProfileName, getProfileHome, openProfileStore, ProfileNameArgumentSchema, GREEN, RED, GRAY, BOLD, RESET, } from "./_utils.js";
|
|
13
|
+
import { defaultProfileEnvironmentId, setProfileEnvironment, getEnvironmentDescriptor } from "./profile-env.js";
|
|
8
14
|
export default {
|
|
9
|
-
async execute(args) {
|
|
10
|
-
const
|
|
15
|
+
async execute(args, opts, context) {
|
|
16
|
+
const { log } = await commandWriters(context.runtime);
|
|
17
|
+
const store = await openProfileStore(context.runtime);
|
|
18
|
+
const name = ProfileNameArgumentSchema.parse(args.name);
|
|
11
19
|
if (!name) {
|
|
12
20
|
log(`${RED}✗${RESET} Profile name is required`);
|
|
13
|
-
|
|
21
|
+
requestCLIExit(1);
|
|
14
22
|
}
|
|
15
23
|
validateProfileName(name);
|
|
24
|
+
const envArg = z.string().catch('').parse(opts.env).trim();
|
|
25
|
+
const environmentId = envArg || defaultProfileEnvironmentId(context.runtime);
|
|
26
|
+
const descriptor = await getEnvironmentDescriptor(environmentId, context.runtime);
|
|
27
|
+
if (!descriptor) {
|
|
28
|
+
log(`${RED}✗${RESET} Unknown environment: ${BOLD}${environmentId}${RESET}`);
|
|
29
|
+
requestCLIExit(1);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
16
32
|
log('');
|
|
17
33
|
log(`${BOLD}vibes profile create${RESET} ${name}`);
|
|
18
34
|
log(`${'─'.repeat(40)}`);
|
|
19
|
-
if (profileExists(name)) {
|
|
35
|
+
if (await profileExists(name, store)) {
|
|
20
36
|
log(` ${RED}✗${RESET} Profile already exists: ${BOLD}${name}${RESET}`);
|
|
21
37
|
log('');
|
|
22
|
-
|
|
38
|
+
requestCLIExit(1);
|
|
23
39
|
}
|
|
24
|
-
createProfileDir(name);
|
|
40
|
+
await createProfileDir(name, store);
|
|
25
41
|
log(` ${GREEN}✓${RESET} Created profile ${BOLD}${name}${RESET}`);
|
|
42
|
+
// Persist the environment selection INTO this profile's own home so that
|
|
43
|
+
// activating the profile switches both env + cred home.
|
|
44
|
+
await setProfileEnvironment(context.runtime, name, environmentId);
|
|
45
|
+
const apiUrl = descriptor.apiUrl;
|
|
46
|
+
log(` ${GREEN}✓${RESET} Bound to environment ${BOLD}${environmentId}${RESET}` +
|
|
47
|
+
(apiUrl ? ` ${GRAY}(${apiUrl})${RESET}` : ''));
|
|
48
|
+
log(` ${GRAY}Home: ${getProfileHome(name, store)}${RESET}`);
|
|
26
49
|
log('');
|
|
27
50
|
}
|
|
28
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.create.impl.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.impl.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"profile.create.impl.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.create.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B;;;;;;;GAOG;AAEH,OAAO,EACN,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,yBAAyB,EACzB,KAAK,EACL,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,KAAK,GACL,MAAM,aAAa,CAAC;AACrB,OAAO,EACN,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,MAAM,kBAAkB,CAAC;AAE1B,eAAe;IACd,KAAK,CAAC,OAAO,CAAC,IAAoB,EAAE,IAAoB,EAAE,OAAuB;QAChF,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACtD,MAAM,KAAK,GAAG,MAAM,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACtD,MAAM,IAAI,GAAG,yBAAyB,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACxD,IAAI,CAAC,IAAI,EAAE,CAAC;YACX,GAAG,CAAC,GAAG,GAAG,IAAI,KAAK,2BAA2B,CAAC,CAAC;YAChD,cAAc,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE1B,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;QAC3D,MAAM,aAAa,GAAG,MAAM,I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AAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAC9C,CAAC;QACF,GAAG,CAAC,KAAK,IAAI,SAAS,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,KAAK,EAAE,CAAC,CAAC;QAC7D,GAAG,CAAC,EAAE,CAAC,CAAC;IACT,CAAC;CACD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CLICommandAssetDescriptor } from '../../schemas/descriptors';
|
|
1
|
+
import type { CLICommandAssetDescriptor } from '../../schemas/descriptors.ts';
|
|
2
2
|
declare const descriptor: CLICommandAssetDescriptor;
|
|
3
3
|
export default descriptor;
|
|
4
4
|
//# sourceMappingURL=profile.delete.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.delete.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile.delete.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE9E,QAAA,MAAM,UAAU,EAAE,yBA0BjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
* Profile Delete Implementation
|
|
3
|
-
*
|
|
4
|
-
* Deletes a profile directory with optional --force to skip confirmation.
|
|
5
|
-
* Refuses to delete the currently active profile.
|
|
6
|
-
*/
|
|
1
|
+
import type { CommandContext, CommandOptions } from '../../schemas/surface.ts';
|
|
7
2
|
declare const _default: {
|
|
8
|
-
execute(args:
|
|
3
|
+
execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
9
4
|
};
|
|
10
5
|
export default _default;
|
|
11
6
|
//# sourceMappingURL=profile.delete.impl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.delete.impl.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.impl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile.delete.impl.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.impl.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;;kBAmCvE,cAAc,QACd,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBAgDE"}
|
|
@@ -1,48 +1,65 @@
|
|
|
1
|
+
import { requestCLIExit } from "../../boot/providers.js";
|
|
2
|
+
import { commandWriters } from "../../commands/output.js";
|
|
1
3
|
/**
|
|
2
4
|
* Profile Delete Implementation
|
|
3
5
|
*
|
|
4
6
|
* Deletes a profile directory with optional --force to skip confirmation.
|
|
5
7
|
* Refuses to delete the currently active profile.
|
|
6
8
|
*/
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
+
import { getRuntimeStdin } from '@vibesdotdev/kernel';
|
|
10
|
+
import { readTerminalLine, tryResolveTerminalTransport } from "../../support/terminal-input.js";
|
|
11
|
+
import { getActiveProfile, profileExists, deleteProfileDir, validateProfileName, openProfileStore, ProfileNameArgumentSchema, GREEN, RED, BOLD, RESET, } from "./_utils.js";
|
|
12
|
+
/** A piped confirmation is one short line; more is a mistake, refused by the host's bounded read. */
|
|
13
|
+
const CONFIRMATION_STDIN_MAX_BYTES = 4096;
|
|
14
|
+
/**
|
|
15
|
+
* The confirmation answer. On a terminal the runtime observed, one typed line
|
|
16
|
+
* (the selected `cli/terminal-input` transport); otherwise the
|
|
17
|
+
* runtime's bounded stdin read, whose first line is the answer (an empty or
|
|
18
|
+
* closed stdin answers "no").
|
|
19
|
+
*/
|
|
20
|
+
async function readConfirmation(runtime, question) {
|
|
21
|
+
if (runtime.localEnvironment.terminal?.()?.stdinIsTerminal === true) {
|
|
22
|
+
const transport = await tryResolveTerminalTransport(runtime);
|
|
23
|
+
return readTerminalLine(question, transport);
|
|
24
|
+
}
|
|
25
|
+
const stdin = await getRuntimeStdin(runtime);
|
|
26
|
+
const read = await stdin.readStdin({ maxBytes: CONFIRMATION_STDIN_MAX_BYTES });
|
|
27
|
+
return read.text.split(/\r?\n/, 1)[0] ?? '';
|
|
28
|
+
}
|
|
9
29
|
export default {
|
|
10
|
-
async execute(args, opts) {
|
|
11
|
-
const
|
|
30
|
+
async execute(args, opts, context) {
|
|
31
|
+
const { log } = await commandWriters(context.runtime);
|
|
32
|
+
const store = await openProfileStore(context.runtime);
|
|
33
|
+
const name = ProfileNameArgumentSchema.parse(args.name);
|
|
12
34
|
const force = opts.force === true;
|
|
13
35
|
if (!name) {
|
|
14
36
|
log(`${RED}✗${RESET} Profile name is required`);
|
|
15
|
-
|
|
37
|
+
requestCLIExit(1);
|
|
16
38
|
}
|
|
17
39
|
validateProfileName(name);
|
|
18
40
|
log('');
|
|
19
41
|
log(`${BOLD}vibes profile delete${RESET} ${name}`);
|
|
20
42
|
log(`${'─'.repeat(40)}`);
|
|
21
|
-
if (!profileExists(name)) {
|
|
43
|
+
if (!(await profileExists(name, store))) {
|
|
22
44
|
log(` ${RED}✗${RESET} Profile does not exist: ${BOLD}${name}${RESET}`);
|
|
23
45
|
log('');
|
|
24
|
-
|
|
46
|
+
requestCLIExit(1);
|
|
25
47
|
}
|
|
26
|
-
const active = getActiveProfile();
|
|
48
|
+
const active = getActiveProfile(store.roots);
|
|
27
49
|
if (name === active) {
|
|
28
50
|
log(` ${RED}✗${RESET} Cannot delete the currently active profile: ${BOLD}${name}${RESET}`);
|
|
29
51
|
log('');
|
|
30
|
-
|
|
52
|
+
requestCLIExit(1);
|
|
31
53
|
}
|
|
32
54
|
if (!force) {
|
|
33
|
-
const
|
|
34
|
-
input: process.stdin,
|
|
35
|
-
output: process.stdout
|
|
36
|
-
});
|
|
37
|
-
const answer = await rl.question(` Delete profile "${name}"? [y/N] `);
|
|
38
|
-
rl.close();
|
|
55
|
+
const answer = await readConfirmation(context.runtime, ` Delete profile "${name}"? [y/N] `);
|
|
39
56
|
if (answer.trim().toLowerCase() !== 'y') {
|
|
40
57
|
log(` ${RED}✗${RESET} Cancelled`);
|
|
41
58
|
log('');
|
|
42
59
|
return;
|
|
43
60
|
}
|
|
44
61
|
}
|
|
45
|
-
deleteProfileDir(name);
|
|
62
|
+
await deleteProfileDir(name, store);
|
|
46
63
|
log(` ${GREEN}✓${RESET} Deleted profile ${BOLD}${name}${RESET}`);
|
|
47
64
|
log('');
|
|
48
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.delete.impl.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.impl.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile.delete.impl.js","sourceRoot":"","sources":["../../../src/commands/profile/profile.delete.impl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAmB,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAEhG,OAAO,EACN,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,yBAAyB,EACzB,KAAK,EACL,GAAG,EACH,IAAI,EACJ,KAAK,GACL,MAAM,aAAa,CAAC;AAErB,qGAAqG;AACrG,MAAM,4BAA4B,GAAG,IAAI,CAAC;AAE1C;;;;;GAKG;AACH,KAAK,UAAU,gBAAgB,CAAC,OAAmB,EAAE,QAAgB;IACpE,IAAI,OAAO,CAAC,gBAAgB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,IAAI,CAAC,CAAC,MAAM,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,EAAE,CAAC;YACzC,GAAG,CAAC,KAAK,GAAG,IAAI,KAAK,4BAA4B,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC;YACxE,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,cAAc,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,MAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC7C,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;YACrB,GAAG,CAAC,KAAK,GAAG,IAAI,KAAK,gDAAgD,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC;YAC5F,GAAG,CAAC,EAAE,CAAC,CAAC;YACR,cAAc,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;QAED,IAAI,CAAC,KAAK,EAAE,CAAC;YACZ,MAAM,MAAM,GAAG,MAAM,gBAAgB,CAAC,OAAO,CAAC,OAAO,EAAE,qBAAqB,IAAI,WAAW,CAAC,CAAC;YAC7F,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,KAAK,GAAG,EAAE,CAAC;gBACzC,GAAG,CAAC,KAAK,GAAG,IAAI,KAAK,YAAY,CAAC,CAAC;gBACnC,GAAG,CAAC,EAAE,CAAC,CAAC;gBACR,OAAO;YACR,CAAC;QACF,CAAC;QAED,MAAM,gBAAgB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;QACpC,GAAG,CAAC,KAAK,KAAK,IAAI,KAAK,oBAAoB,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,CAAC,CAAC;QAClE,GAAG,CAAC,EAAE,CAAC,CAAC;IACT,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.environment.descriptor.d.ts","sourceRoot":"","sources":["../../../src/commands/profile/profile.environment.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAE9E,QAAA,MAAM,UAAU,EAAE,yBAuBjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|