Skip to content

Build(deps): Bump inquirer from 8.2.6 to 12.6.3 - #62

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.6.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/inquirer-12.6.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 26, 2025

Copy link
Copy Markdown
Contributor

Bumps inquirer from 8.2.6 to 12.6.3.

Release notes

Sourced from inquirer's releases.

[email protected]

  • Fix #1743: pagination logic of the select, checkbox and search prompts was fully rewritten to handle edge cases around rendering multi-line choices and pointer positioning.

[email protected]

  • Chore: dependencies bump

[email protected]

  • Fix #1741: Issue with SIGINT in some scenarios leaving promises unsettled on exit.
  • Fix: Remove monorepo related dependencies from all artifacts published to npm. This removes non-standard version specifiers like workspace:* from the public npm packages.

[email protected]

  • Feat(@​inquirer/select): Added an instructions option allowing to customize the messages in the help tips.
  • Feat(@​inquirer/rawlist): Arrow keys will now cycle through the option, just like the @inquirer/select prompt. Also added a loop option to control the list loop behaviour when reaching the boundaries.

[email protected]

  • README: Add new sponsor
  • Chore: dependency updates

[email protected]

  • Feat (select): Introduce theme.indexMode to control displaying an index prefix in front of each choice. (defaults to hidden)
  • Fix (select): Improve search when number keys are pressed

[email protected]

  • Fix an issue where inquirer would throw if Node is ran with the new --frozen-intrinsics flag.

[email protected]

  • Mark @types/node as an optional peer dependency across all packages.

[email protected]

  • Added new shortcut config to the checkbox prompt. Allows to customize or disable shortcut keys for select all and invert selection.

[email protected]

[email protected]

  • Checkbox prompt: re-added support for an array of default to be provided listing pre-checked checkboxes. This is a legacy interface brought back given this feature removal was an involuntary breaking change during the v12 release. The preferred interface is to provide the checked property to choices { value: 'bar', checked: true }.

[email protected]

  • @types/node is now only a peerDependencies. This reduces the install size of inquirer dramatically for folks not using Typescript. It's unlikely to break your builds if you used TS already, if it does run npm install --dev @types/node/yarn add --dev @types/node.

[email protected]

  • Now exports base utility Typescript types: import type { Question, DistinctQuestion, Answers } from 'inquirer';

You should use as follow to keep the inference working properly:

const questions = [
    { ... }
] as const satisfies Question[];
// If you're not using inquirer plugins, `Question` could alternatively be replaced by `DistinctQuestion` for stricter checks.
</tr></table> 

... (truncated)

Commits
  • dc0770c Publish
  • 75123b5 Fix(@​inquirer/core): Fix paginated pointer jump if user moved up then down
  • 5985e79 Fix(@​inquirer/core): Major refactor of the pagination logic to work better wi...
  • e456e40 Refactor: Cleanups following #1759
  • 553d9fa Chore(repo): gitignore mcp servers
  • 85d4642 Publish
  • 9be3243 Fix(@​inquirer/core): Make sure useState set functions are always bound to the...
  • 22bf77f Chore(deps-dev): Bump @​types/node from 22.15.17 to 22.15.19 (#1756)
  • 79e0032 Chore(deps-dev): Bump the linting group with 3 updates (#1755)
  • 8812e6a Add community prompt inquirer-select-with-state (#1753)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot
dependabot Bot requested a review from joelteply May 26, 2025 21:29
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 26, 2025
@dependabot @github

dependabot Bot commented on behalf of github May 26, 2025

Copy link
Copy Markdown
Contributor Author

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 26, 2025
@dependabot @github

dependabot Bot commented on behalf of github Jul 8, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #88.

@dependabot dependabot Bot closed this Jul 8, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/inquirer-12.6.3 branch July 8, 2025 00:16
joelteply added a commit that referenced this pull request May 31, 2026
Auto-generated by `cargo test --release export_bindings` after the
preceding commit added the Rust types with `#[derive(TS)]`. Brings
the TS wire-shape surface into sync with the Rust dispatch shipped
in the parent PR (#1501).

# What this adds

- `DirEntry.ts` — `{ name, path, kind: FsEntryKind, sizeBytes? }`
- `ExistsResult.ts` — `{ success, exists, filePath, kind?, sizeBytes? }`
- `FsEntryKind.ts` — `"file" | "directory" | "symlink" | "other"`
- `GlobResult.ts` — `{ success, pattern, matches, totalMatches, truncated }`
- `ListResult.ts` — `{ success, directoryPath, entries: DirEntry[], totalCount }`
- Updates `src/shared/generated/code/index.ts` barrel to export the five
  new types

# Why split into its own commit

The Rust-side commit is the substantive change; the binding files
are deterministic outputs of the ts-rs derive macros. Keeping them in
a separate commit makes the diff easier to audit (Rust logic + tests
in one commit, generated wire shapes in another) and matches the
pattern from PR #1488 (the cell-shapes binding fixup).

Task #62 (CI guard for ts-rs binding drift) remains the right
long-term answer; until then, this kind of follow-up commit closes
the gap.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request May 31, 2026
… TS build

Adversarial PR review caught: a literal `**/*` glyph in the Rust
docstring round-trips through ts-rs verbatim into a JSDoc block in
`shared/generated/code/GlobResult.ts`, where the `*/` substring at
column 57 prematurely closes the comment. `npm run build:ts` fails
with TS1131 + TS1160; that blocks the validate CI job + npm start
for the whole canary tree.

Fix: replace the glyph spellings with the words "double-star slash
star" in two places (one in the field doc, one in the const doc).
Regenerated `GlobResult.ts` no longer contains the hazard.

Per [[every-error-is-an-opportunity-to-battle-harden]]: the
docstring also flags task #62 ("ts-rs binding drift CI guard") as
the proper substrate-level fix — a regex check against `*/` in
generated `.ts` doc blocks would have caught this class of bug
mechanically.

Co-Authored-By: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request May 31, 2026
…introspection cluster (#1501)

* feat(modules/code): code/exists + code/list + code/glob — filesystem introspection cluster

Closes the Priority 1 gap from
[PERSONA-AS-DEVELOPER-GAP.md](docs/planning/PERSONA-AS-DEVELOPER-GAP.md):
the filesystem-introspection seam that blocks a persona from safely
running `generate/module` (no way to check for collisions),
enumerating files before edits, or listing directories without
paying the full `code/tree` recursive cost.

# What this PR adds

Three new dispatch arms on the existing `code` ServiceModule (the
right home — sits alongside `code/read`, `code/write`, `code/edit`,
`code/tree`, `code/search`):

| Command | Signature | Purpose |
|---|---|---|
| `code/exists` | `{persona_id, file_path}` → `ExistsResult{exists, kind, size_bytes?}` | Probe before scaffolding — collision check + kind in one call |
| `code/list` | `{persona_id, path?, include_hidden?}` → `ListResult{entries: DirEntry[]}` | Flat readdir, directories first, alphabetical within each group |
| `code/glob` | `{persona_id, pattern, root?}` → `GlobResult{matches, truncated}` | Glob expansion (`**/*.rs` etc.), workspace-scoped, capped at 5000 matches |

Plus three FileEngine methods backing them (`exists`, `list_dir`,
`glob_match`) and a `validate_introspect_path` private helper that
handles non-existent paths cleanly (PathSecurity::validate_read
rejects them; introspection needs to answer "does this exist?"
without conflating absence with traversal).

# Doctrine followed

Per [COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md](docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md):

- **Module Design Template §3** — typed `Params/Result` shapes
  with `#[derive(TS)]`, camelCase serde, optional fields with
  `#[ts(optional)]`
- **Concurrency doctrine §4** — multi-thread tokio stress test
  (`flavor = "multi_thread", worker_threads = 4`) pinning that
  concurrent introspection on a shared workspace returns
  consistent results
- **Three primitives** — all three are pure **Commands** (request/
  response queries against FileEngine, no state, no events)
- **Rethink-not-port** — these are designed Rust-first; there's
  no TS predecessor to port from. Wire shapes follow the existing
  `code/*` family's conventions for consistency.

# Sharp design decisions (the kinks the tests caught pre-merge)

1. **Non-existent paths report `exists=false`, not Err.** The
   substrate's `PathSecurity::validate_read` rejects missing
   paths because it canonicalizes — correct for read/write/edit,
   wrong for introspection. Added `validate_introspect_path`
   helper that does string-level safety (rejects `..` segments
   + absolute paths) without requiring existence.

2. **Glob filters explicitly via Override.matched().is_whitelist().**
   First implementation walked all files and emitted everything —
   gave 11 matches when 10 were expected. Fix: explicit
   per-entry whitelist check; files only (skip directories +
   scan root); standard_filters + hidden=true excludes dotfiles
   by default (matches Unix shell intuition).

3. **list_dir sorts directories first, then files, alphabetical
   within each group.** Predictable order matters for persona
   reproducibility — a generator that picks "first available
   name" must get the same answer every run.

4. **Glob result capped at GLOB_MAX_MATCHES (5000)** with
   `truncated: true` flag. A runaway `**/*` shouldn't OOM the
   caller; partial results are still useful and the cap is
   observable.

5. **Hidden file behavior diverges between list_dir and glob.**
   `code/list` includes hidden when `include_hidden=true` (explicit
   opt-in). `code/glob` always excludes hidden (matches Unix shell
   default — `**/*.rs` shouldn't surface `.git/*.rs`). Documented
   on each type.

# Tests (30/30 pass — 22 pre-existing + 8 new)

New tests in `src/workers/continuum-core/src/code/file_engine.rs::tests`:

**exists (4)**
- `exists_reports_file_with_size` — happy path with size
- `exists_reports_directory_without_size` — directory has no size
- `exists_reports_false_for_missing_with_no_error` — absence != error
- `exists_rejects_path_outside_workspace_via_path_security` — traversal blocked

**list_dir (5)**
- `list_dir_returns_flat_listing_directories_first` — ordering invariant
- `list_dir_excludes_hidden_by_default_includes_when_asked` — both modes
- `list_dir_reports_file_size_only_for_files` — per-kind size policy
- `list_dir_rejects_non_directory_path_loud` — clear error on misuse
- `list_dir_for_missing_path_returns_not_found` — missing != success
- `list_dir_handles_empty_directory_cleanly` — zero entries OK

**glob (5)**
- `glob_matches_files_by_extension_recursively` — `**/*.ts` works
- `glob_scoped_to_subdirectory_via_root_param` — root narrows scope
- `glob_with_no_matches_returns_empty_not_error` — 0 matches OK
- `glob_rejects_bad_pattern_loud` — malformed pattern fails clearly
- `glob_rejects_root_outside_workspace_via_path_security` — traversal blocked

**concurrency (1)**
- `introspection_under_concurrent_load_returns_consistent_results` —
  32 parallel exists+list+glob ops on a shared workspace, all return
  stable counts (10 files, 10 matches) regardless of concurrent
  siblings. Per field manual §4.2 — multi-thread tokio, not
  single-threaded.

All 22 pre-existing FileEngine tests still pass (no regression).

# ts-rs bindings

5 new types are annotated with `#[derive(TS)]` + `export_to`:
- `ExistsResult.ts`, `ListResult.ts`, `GlobResult.ts`
- `DirEntry.ts`, `FsEntryKind.ts`

These auto-generate next time `cargo test --release export_bindings`
runs (per the existing `generate-rust-bindings.ts` flow). The
pending CI guard for ts-rs drift (task #62) is the right place
to catch any future drift here.

# What this PR explicitly does NOT do

- **Does NOT add TS wrapper commands** in `src/commands/code/exists/`
  etc. The Rust ServiceModule + IPC bridge is the canonical surface
  per [[rust-is-the-core-node-is-the-shell]]. TS wrappers can be
  added in a follow-up if/when browser ergonomics need them.
- **Does NOT add `code/delete` or `code/move`.** Those are
  PERSONA-AS-DEVELOPER-GAP.md priority 5 (Small). FileEngine.delete
  already exists internally; the dispatch wiring is the only gap.
  Separate PR.
- **Does NOT add the `continuum-core/build` + `test` cluster** (gap
  report priority 2). That's the next sprint — needs cargo
  `--message-format=json` parsing into typed envelopes.
- **Does NOT add `events/command-completed`** (gap report priority 3).
  Largest scope item; needs its own design discussion.

# References

- [docs/planning/PERSONA-AS-DEVELOPER-GAP.md](docs/planning/PERSONA-AS-DEVELOPER-GAP.md)
  — Priority 1 cluster this PR ships
- [docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md](docs/architecture/COMMAND-INFRASTRUCTURE-FIELD-MANUAL.md)
  §3 (Module Design Template) + §4 (Concurrency doctrine)
- [docs/architecture/MODULE-CATALOG.md §0](docs/architecture/MODULE-CATALOG.md)
  — `code` module's row gains three commands when this PR + the gap
  report land
- Memory: [[three-primitives-commands-events-persona]],
  [[alignment-via-substrate-economics]] — these commands are
  routable + discoverable, composing naturally with future
  intra-grid sharing

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* chore(bindings): land ts-rs output for the code/exists+list+glob types

Auto-generated by `cargo test --release export_bindings` after the
preceding commit added the Rust types with `#[derive(TS)]`. Brings
the TS wire-shape surface into sync with the Rust dispatch shipped
in the parent PR (#1501).

# What this adds

- `DirEntry.ts` — `{ name, path, kind: FsEntryKind, sizeBytes? }`
- `ExistsResult.ts` — `{ success, exists, filePath, kind?, sizeBytes? }`
- `FsEntryKind.ts` — `"file" | "directory" | "symlink" | "other"`
- `GlobResult.ts` — `{ success, pattern, matches, totalMatches, truncated }`
- `ListResult.ts` — `{ success, directoryPath, entries: DirEntry[], totalCount }`
- Updates `src/shared/generated/code/index.ts` barrel to export the five
  new types

# Why split into its own commit

The Rust-side commit is the substantive change; the binding files
are deterministic outputs of the ts-rs derive macros. Keeping them in
a separate commit makes the diff easier to audit (Rust logic + tests
in one commit, generated wire shapes in another) and matches the
pattern from PR #1488 (the cell-shapes binding fixup).

Task #62 (CI guard for ts-rs binding drift) remains the right
long-term answer; until then, this kind of follow-up commit closes
the gap.

Co-Authored-By: Claude Opus 4.7 <[email protected]>

* fix(modules/code): escape `*/` glyph in GlobResult docstring breaking TS build

Adversarial PR review caught: a literal `**/*` glyph in the Rust
docstring round-trips through ts-rs verbatim into a JSDoc block in
`shared/generated/code/GlobResult.ts`, where the `*/` substring at
column 57 prematurely closes the comment. `npm run build:ts` fails
with TS1131 + TS1160; that blocks the validate CI job + npm start
for the whole canary tree.

Fix: replace the glyph spellings with the words "double-star slash
star" in two places (one in the field doc, one in the const doc).
Regenerated `GlobResult.ts` no longer contains the hazard.

Per [[every-error-is-an-opportunity-to-battle-harden]]: the
docstring also flags task #62 ("ts-rs binding drift CI guard") as
the proper substrate-level fix — a regex check against `*/` in
generated `.ts` doc blocks would have caught this class of bug
mechanically.

Co-Authored-By: Claude Opus 4.7 <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Jun 15, 2026
The substrate has Rust types with `#[derive(TS)]` + `#[ts(export_to =
"../../../protocol/typescript/...")]` attributes. `cargo test`
regenerates those .ts files as a side effect of running per-type
`export_bindings_*` tests.

When an author adds a new field or variant to a Rust type but forgets
to commit the regenerated .ts file, the wire shape drifts silently:

  - Mac/Linux dev: cargo test regenerates locally, looks fine, ships
    PR without the .ts in the diff.
  - Reviewer: sees only the Rust change, approves.
  - Downstream TS consumer at runtime: hits the new variant / missing
    field; no compile-time guard fires (the .ts file is stale).

Today's session had a near-miss on continuum #1624 (Mac Intel
classify_silicon fix): TargetSilicon gained the MacIntelMetal variant
but the regenerated `protocol/typescript/governor/TargetSilicon.ts`
was not in the initial push. Had to amend.

Adds `.github/workflows/ts-rs-binding-drift-guard.yml`:
  - triggers on PRs touching Cargo, rust-toolchain, core/**, or
    protocol/typescript/** (a TS edit needs the gate too — it must
    match the Rust source);
  - picks up Rust 1.95 from rust-toolchain.toml (#1614);
  - runs ONLY the `export_bindings_*` tests (cheap — same skip
    patterns as #1616's CI gate so GPU/env-var tests don't sink it);
  - then `git diff --exit-code protocol/typescript/`. Non-empty diff
    means the test run regenerated bindings that the PR did NOT
    commit. Fail with a verbatim fix-recipe in the error log.

Composes with:
  - #1614 toolchain pin (Rust version)
  - #1616 unit-test CI gate (same skip patterns)
  - #1624 (the near-miss this workflow would have caught at CI)

Co-authored-by: Claude Opus 4.7 <[email protected]>
joelteply added a commit that referenced this pull request Jul 19, 2026
…#200) (#1966)

* refactor(persona): extract PersonaBirth — the single birth core (#200 prep)

Factor the body of PersonaInstanceManagerModule::bootstrap_one into a standalone
`PersonaBirth` struct (registry + daemon_socket + default_room + default_room_name +
continuum_root + late-bound executor) with `birth_one(intent)`. PIM now delegates
bootstrap_one to it and exposes `birth() -> Arc<PersonaBirth>`.

Why: so the on-demand `persona/spawn` command reuses the EXACT birth path as boot
auto-seed (spawner supervisor → bootstrap_planned → bootstrap_one → birth_one) — one
birth core, never a parallel spawn implementation ([[persona-birth-is-a-first-class-
handle-command]], compression). The instances/mod.rs comment already anticipated this:
"bootstrap needs the module's full bootstrap capability … migrates under #62 once
those deps are threaded."

Pure refactor, no behavior change: the moved deps (daemon_socket/default_room/
default_room_name) leave PIM's struct (they live in PersonaBirth now, same Arc handles),
dropping them as dead fields; PIM keeps registry/continuum_root/executor for
registry()/commands()/install_executor. Lib compiles clean, zero new warnings.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* feat(persona): persona/spawn — first-class handle-based birth command (#200)

Birth a persona (an airc citizen) on demand, callable by any first-class citizen —
a human, another persona, a widget, or the grid capacity-scaler. Joel: "the spawn or
birth of users is a command … handle based, event spawning, if anything is slow,
parameters easy to use." ([[persona-birth-is-a-first-class-handle-command]])

- commands/persona/spawn.rs: typed `persona/spawn` (Privileged). Params ALL optional
  — zero-arg births ONE persona with a random name + everything derived from her id
  (the #199 PersonaCard genesis). `name?` overrides the single name; `count?` spawns N
  (grid capacity), clamped to [1, MAX_SPAWN=32]. `plan_intents` (pure, unit-tested)
  encodes the count/name policy.
- Non-blocking / event-driven: mints the identities (fast), returns the names as a
  PersonaSpawnReceipt IMMEDIATELY, and runs the slow births (airc keypair ceremony +
  seed/card/avatar) in a detached task. Each completed birth fires `persona:born`
  (payload PersonaInstanceInfo) — emitted from PersonaBirth::birth_one, so a birth by
  boot auto-seed OR by this command is uniformly observable.
- PIM captures the event bus (late-bound) in initialize() and shares it with the
  birth core; commands() hands the shared Arc<PersonaBirth> to the command so on-demand
  births go through the EXACT same path as boot (no parallel spawn impl).

The legacy `persona/instances/bootstrap` handle_command arm stays (delegates to the
same birth core) — retiring it is a #62 follow-up. Large-name-pool expansion (the
current pool is 119; collides at grid scale) is a noted #200 follow-up.

Tests: spawn (7 — name/path+access, zero-arg=1, explicit-name-single, count clamp,
batch-random-unique-ids), reassign + instance-mgr regression-green. ts-rs bindings for
PersonaSpawnParams/Receipt regenerated. Lib compiles clean.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants