@duvoai/cli 1.108.0 → 1.109.0

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.
Files changed (2) hide show
  1. package/dist/bin/duvo.js +80 -91
  2. package/package.json +3 -2
package/dist/bin/duvo.js CHANGED
@@ -5453,7 +5453,6 @@ var startInterviewCaptureBodySchema = z16.object({
5453
5453
  */
5454
5454
  language: clarityInterviewLanguageValueSchema.optional(),
5455
5455
  extraCaptureRequestId: z16.guid().optional(),
5456
- processNodeId: z16.guid().optional(),
5457
5456
  /**
5458
5457
  * Set when the capture is started to fulfil a module setup interview
5459
5458
  * (`automation_config_interview`). The route validates the interview is
@@ -16496,12 +16495,18 @@ var removeMemberResponseSchema = z75.object({
16496
16495
  nextTeamId: z75.guid().nullable(),
16497
16496
  planType: extensibleEnum(["pro", "business", "enterprise"]).nullable()
16498
16497
  });
16498
+ var memberAccessSchema = z75.object({
16499
+ mode: extensibleEnum(["role", "permission"]),
16500
+ permissions: z75.array(z75.string())
16501
+ });
16499
16502
  var getMemberMeResponseSchema = z75.object({
16500
16503
  role: z75.string().nullable(),
16501
16504
  // True only when a real `user_team_memberships` row exists. `role` can be a
16502
16505
  // read-only *virtual* role for org leaders who haven't joined, so it is not a
16503
16506
  // membership signal on its own — use this flag to tell a real member apart.
16504
- isMember: z75.boolean()
16507
+ isMember: z75.boolean(),
16508
+ // Absent until the server resolves access; the app then displays by role.
16509
+ access: memberAccessSchema.optional()
16505
16510
  });
16506
16511
  var addTeamMemberRequestSchema = z75.object({
16507
16512
  userId: z75.guid(),
@@ -21082,9 +21087,12 @@ var PERMISSION = {
21082
21087
  AGENT_TRIGGER_MANAGE: "agent.trigger.manage",
21083
21088
  AGENT_TRIGGER_VIEW_OTHERS: "agent.trigger.view.others",
21084
21089
  AGENT_TRIGGER_MANAGE_OTHERS: "agent.trigger.manage.others",
21090
+ AGENT_MEMORY_VIEW: "agent.memory.view",
21085
21091
  AGENT_MEMORY_MANAGE: "agent.memory.manage",
21086
- AGENT_MEMORY_TEAM_VIEW: "agent.memory.team.view",
21087
- AGENT_MEMORY_TEAM_MANAGE: "agent.memory.team.manage",
21092
+ AGENT_MEMORY_MANAGE_OTHERS: "agent.memory.manage.others",
21093
+ AGENT_EXCEPTION_MANAGE: "agent.exception.manage",
21094
+ AGENT_EXCEPTION_TEAM_VIEW: "agent.exception.team.view",
21095
+ AGENT_EXCEPTION_TEAM_MANAGE: "agent.exception.team.manage",
21088
21096
  COMPUTER_TEMPLATE_VIEW: "computer.template.view",
21089
21097
  COMPUTER_TEMPLATE_USE: "computer.template.use",
21090
21098
  COMPUTER_TEMPLATE_MANAGE: "computer.template.manage",
@@ -21811,25 +21819,46 @@ var TEAM_PERMISSION_META = {
21811
21819
  implies: [P4.AGENT_TRIGGER_MANAGE, P4.AGENT_TRIGGER_VIEW_OTHERS],
21812
21820
  validScopes: SCOPES3
21813
21821
  },
21822
+ [P4.AGENT_MEMORY_VIEW]: {
21823
+ domain: D3.AGENTS,
21824
+ label: "See agent memory",
21825
+ help: "See the memory of the agents you can see, and the team's shared memory.",
21826
+ implies: [P4.AGENT_VIEW],
21827
+ validScopes: SCOPES3
21828
+ },
21814
21829
  [P4.AGENT_MEMORY_MANAGE]: {
21815
21830
  domain: D3.AGENTS,
21816
21831
  label: "Manage agent memory",
21817
- help: "Change, clear and delete agents' memory, memory stores and AOP exceptions.",
21832
+ help: "Change, clear and delete the memory of agents you created, and the team's shared memory, and trigger dreaming on them. Agent Runs write memory without this permission. An Ask Duvo chat changes only what the person who opened it could.",
21833
+ implies: [P4.AGENT_MEMORY_VIEW],
21834
+ validScopes: SCOPES3
21835
+ },
21836
+ [P4.AGENT_MEMORY_MANAGE_OTHERS]: {
21837
+ domain: D3.AGENTS,
21838
+ label: "Manage other people's agent memory",
21839
+ help: "Change, clear and delete the memory of agents somebody else created.",
21840
+ implies: [P4.AGENT_MEMORY_MANAGE],
21841
+ validScopes: SCOPES3
21842
+ },
21843
+ [P4.AGENT_EXCEPTION_MANAGE]: {
21844
+ domain: D3.AGENTS,
21845
+ label: "Manage your AOP exceptions",
21846
+ help: "Add, change and delete your own AOP exceptions, which only your runs use.",
21818
21847
  implies: [P4.AGENT_VIEW],
21819
21848
  validScopes: SCOPES3
21820
21849
  },
21821
- [P4.AGENT_MEMORY_TEAM_VIEW]: {
21850
+ [P4.AGENT_EXCEPTION_TEAM_VIEW]: {
21822
21851
  domain: D3.AGENTS,
21823
21852
  label: "See team AOP exceptions",
21824
21853
  help: "See the AOP exceptions a Team automation's runs use, which belong to the team rather than a person. Anyone who can see an agent can see them.",
21825
21854
  implies: [P4.AGENT_VIEW],
21826
21855
  validScopes: SCOPES3
21827
21856
  },
21828
- [P4.AGENT_MEMORY_TEAM_MANAGE]: {
21857
+ [P4.AGENT_EXCEPTION_TEAM_MANAGE]: {
21829
21858
  domain: D3.AGENTS,
21830
21859
  label: "Manage team AOP exceptions",
21831
21860
  help: "Add, change and delete the AOP exceptions a Team automation's runs use, on the agents you can edit.",
21832
- implies: [P4.AGENT_MEMORY_TEAM_VIEW],
21861
+ implies: [P4.AGENT_EXCEPTION_TEAM_VIEW],
21833
21862
  validScopes: SCOPES3
21834
21863
  },
21835
21864
  [P4.COMPUTER_TEMPLATE_VIEW]: {
@@ -22279,8 +22308,9 @@ var PROCESS_ROLE = {
22279
22308
  };
22280
22309
  var P5 = PERMISSION;
22281
22310
  var CLARITY_MEMBER_TIER = [
22282
- P5.AGENT_MEMORY_MANAGE,
22283
- P5.AGENT_MEMORY_TEAM_VIEW,
22311
+ P5.AGENT_EXCEPTION_MANAGE,
22312
+ P5.AGENT_EXCEPTION_TEAM_VIEW,
22313
+ P5.AGENT_MEMORY_VIEW,
22284
22314
  P5.AGENT_RUN,
22285
22315
  P5.AGENT_TRIGGER_MANAGE,
22286
22316
  P5.APIKEY_MANAGE,
@@ -22319,8 +22349,9 @@ var MEMBER_TIER = [
22319
22349
  ];
22320
22350
  var BUILDER_TIER = [
22321
22351
  ...MEMBER_TIER,
22352
+ P5.AGENT_EXCEPTION_TEAM_MANAGE,
22322
22353
  P5.AGENT_MANAGE,
22323
- P5.AGENT_MEMORY_TEAM_MANAGE,
22354
+ P5.AGENT_MEMORY_MANAGE,
22324
22355
  P5.AGENT_PROMOTE,
22325
22356
  P5.AUTOMATION_MANAGE,
22326
22357
  P5.CHAT_APP_LINK,
@@ -22334,6 +22365,7 @@ var BUILDER_TIER = [
22334
22365
  var LEAD_BUILDER_TIER = [
22335
22366
  ...BUILDER_TIER,
22336
22367
  P5.AGENT_MANAGE_OTHERS,
22368
+ P5.AGENT_MEMORY_MANAGE_OTHERS,
22337
22369
  P5.AGENT_PROMOTE_OTHERS,
22338
22370
  P5.APIKEY_MANAGE_OTHERS,
22339
22371
  P5.AUTOMATION_MANAGE_OTHERS,
@@ -22395,7 +22427,8 @@ var OWNER_TIER = [
22395
22427
  P5.TEAM_ROLE_ASSIGN_UNRESTRICTED
22396
22428
  ];
22397
22429
  var ORG_LEADER_TEAM_READS = [
22398
- P5.AGENT_MEMORY_TEAM_VIEW,
22430
+ P5.AGENT_EXCEPTION_TEAM_VIEW,
22431
+ P5.AGENT_MEMORY_VIEW,
22399
22432
  P5.AGENT_TRIGGER_VIEW_OTHERS,
22400
22433
  P5.AGENT_VIEW,
22401
22434
  P5.AUTOMATION_POLICY_VIEW,
@@ -22499,17 +22532,17 @@ var BUILTIN_ROLES = {
22499
22532
  label: getTeamRoleLabel2(TEAM_ROLE2.PROCESS_MEMBER),
22500
22533
  permissions: []
22501
22534
  },
22502
- // The one intended difference from today (RFC §12, phase 0): an Executive
22503
- // acts in every team as its Owner does, without joining. Joining still makes
22504
- // them an Administrator (`joinRole`, as `teamRoleForOrgRole` does today), so
22505
- // in phase 2 a route must read the organization grant and the team role
22506
- // together, or an Executive who joined gets less there than one who did not.
22535
+ // An organization Owner, plus the two organization gates only an Executive
22536
+ // passes. Like every organization role it reaches a team only through
22537
+ // `ORG_LEADER_TEAM_READS`: `requireRole` and `authorizeTeamAccess` refuse an
22538
+ // organization leader every write in a team where their own team role does
22539
+ // not allow it. Team permissions come from the team role, which joining
22540
+ // gives them (`joinRole`, as `teamRoleForOrgRole` does today).
22507
22541
  [ORG_ROLE2.EXECUTIVE]: {
22508
22542
  scope: "organization",
22509
22543
  label: "Executive",
22510
22544
  permissions: [
22511
22545
  ...ORG_OWNER_TIER,
22512
- ...OWNER_TIER,
22513
22546
  P5.ORG_INTERVIEW_CONDUCT,
22514
22547
  P5.ORG_MEMBER_REMOVE_UNRESTRICTED
22515
22548
  ],
@@ -22575,6 +22608,13 @@ function getBuiltinRolePermissions(role) {
22575
22608
  }
22576
22609
  __name(getBuiltinRolePermissions, "getBuiltinRolePermissions");
22577
22610
  __name3(getBuiltinRolePermissions, "getBuiltinRolePermissions");
22611
+ var orgLeaderTeamReads;
22612
+ function isOrgLeaderTeamRead(permission) {
22613
+ orgLeaderTeamReads ??= expandPermissions(ORG_LEADER_TEAM_READS);
22614
+ return orgLeaderTeamReads.has(permission);
22615
+ }
22616
+ __name(isOrgLeaderTeamRead, "isOrgLeaderTeamRead");
22617
+ __name3(isOrgLeaderTeamRead, "isOrgLeaderTeamRead");
22578
22618
  function builtinRoleHasPermission(role, permission) {
22579
22619
  return getBuiltinRolePermissions(role).has(permission);
22580
22620
  }
@@ -23510,7 +23550,13 @@ var FEATURE_FLAG_CATALOGUE = {
23510
23550
  defaultValue: false,
23511
23551
  stage: "public_beta",
23512
23552
  stageEnrollmentExclusion: "A canary for the next Agent SDK release, moved by hand as confidence grows, not a feature an enrollment should grant.",
23513
- description: "Routes newly created cc-server sandboxes to the Agent SDK canary E2B template instead of the regular one, so a new `@anthropic-ai/claude-agent-sdk` release can take real traffic before the pin moves, from a small slice up to every new sandbox. CI builds the canary template on every staging push and production release from the same cc-server commit and Dockerfile as the regular template, with the SDK and its CLI binary package pinned to the version in `cc-server/e2b-templates/canary/agent-sdk-version.txt`. Set it per user, team or organization, or globally to move every new sandbox onto the canary before promoting it; under a global on, a user, team or organization override set to off keeps that scope on the pin, except for any team or user inside it with its own on override, since the most specific override wins. Every sandbox creation path reads it \u2014 agent Runs, Ask Duvo, the builder, Clarity, code steps, Pulse, the public API and the rest. A sandbox that belongs to one user resolves user, then team, then organization. A sandbox that teammates share (a Pulse, a workflow-builder plan, a builder draft) and a system job with no acting user resolve team and organization only, so a user-level override neither moves nor excludes those. A sandbox keeps the SDK it was created with: turning the flag off moves new sandboxes back at once, while existing chats and resumed Runs stay on the canary until their sandbox is replaced. Does nothing where `E2B_SDK_CANARY_TEMPLATE` is unset (local development, previews) or with the Docker sandbox provider, and flagged sandboxes run the pinned SDK whenever the version file is empty or matches the pin. Off by default."
23553
+ description: "Routes newly created cc-server sandboxes to the Agent SDK canary E2B template instead of the regular one, so a new `@anthropic-ai/claude-agent-sdk` release can take real traffic before the pin moves, from a small slice up to every new sandbox. CI builds the canary template on every staging push and production release from the same cc-server commit and Dockerfile as the regular template, with the SDK and its CLI binary package pinned to the version in `cc-server/e2b-templates/canary/agent-sdk-version.txt`. Set it per user, team or organization, or globally to move every new sandbox onto the canary before promoting it; under a global on, a user, team or organization override set to off keeps that scope on the pin, except for any team or user inside it with its own on override, since the most specific override wins. Every sandbox creation path reads it \u2014 agent Runs, Ask Duvo (except a chat that `ask_duvo_sandbox_template` moves to the Ask Duvo template), the builder, Clarity, code steps, Pulse, the public API and the rest. A sandbox that belongs to one user resolves user, then team, then organization. A sandbox that teammates share (a Pulse, a workflow-builder plan, a builder draft) and a system job with no acting user resolve team and organization only, so a user-level override neither moves nor excludes those. A sandbox keeps the SDK it was created with: turning the flag off moves new sandboxes back at once, while existing chats and resumed Runs stay on the canary until their sandbox is replaced. Does nothing where `E2B_SDK_CANARY_TEMPLATE` is unset (local development, previews) or with the Docker sandbox provider, and flagged sandboxes run the pinned SDK whenever the version file is empty or matches the pin. Off by default."
23554
+ },
23555
+ ASK_DUVO_SANDBOX_TEMPLATE: {
23556
+ key: "ask_duvo_sandbox_template",
23557
+ defaultValue: false,
23558
+ stage: "temporary",
23559
+ description: "Creates new Ask Duvo chat sandboxes, classic and harness, from the Ask Duvo E2B template instead of the template Agent Runs use, so the two can change separately (PLA-1705). The template is built from the same commit as the backend. A chat on it runs the pinned Agent SDK, whatever `agent_sdk_canary` says. Set it per user, team or organization, or globally. A sandbox keeps the template it was created from: turning the flag off moves new chats back at once. When this release has no build of the template, the chat is created as if the flag were off. Does nothing where `E2B_ASK_DUVO_TEMPLATE` is unset (local development, previews) or with the Docker sandbox provider. Off by default."
23514
23560
  },
23515
23561
  BILLING_INTERVIEW_PACK_PURCHASES: {
23516
23562
  key: "billing_interview_pack_purchases",
@@ -23835,7 +23881,7 @@ var FEATURE_FLAG_CATALOGUE = {
23835
23881
  key: "clarity_interview_conversational_prompt",
23836
23882
  defaultValue: false,
23837
23883
  stage: "alpha",
23838
- description: "Gives default-profile Clarity interviews, voice and screenshare, the short conversational prompt (AUT-1409, #12190) instead of the eight coverage areas: a plain greeting that eases in with their job, one named recent case told from its start, where their part starts and ends confirmed from that story, weekly volume and time right after it, three to five main steps taken one at a time and each probed for systems, fields read and filled in, buttons and actions, re-entry, decisions and branches (what decides each 'sometimes' or 'it depends'), exceptions, rework, frequency and hands-on time, one follow-up for vague answers, a pacing rule that shortens the rest when they are short on time, their own view, and a close that reads the numbers and branches back. The screenshare director starts from the matching checklist. Team, folder and organization interviews keep their landscape prompt but gain the blocking close and a landscape director that tracks areas, high-level processes, owners and dependencies. The director's map is also the notes it shares with the voice model: after each director pass the client sends the voice model a short private brief rendered from the map (settled topics, then open items with what is known and the missing fact), and the director keeps each step open until its actor, system, fields, action, decision rule, exceptions and handoff are known. On a process set to build on what's known, the director reads each document, recording and session in the background when it settles, reads everything again when one is removed, and a new full interview starts from those notes and opens by saying it has some context and a few open areas; the start screen catches up on unread material before the Start button is enabled. Processes set to start fresh each time and targeted follow-ups only gain the brief. A module's process is not affected. Onboarding and module-setup interviews with authoritative guidance keep their own prompts. Resolved for the interviewee (user, then team); the background reading is resolved for the person who added the capture. Off by default: the prompt and the director checklist are unchanged."
23884
+ description: "Gives default-profile Clarity interviews, voice and screenshare, the short conversational prompt (AUT-1409, #12190) instead of the eight coverage areas: a plain greeting that eases in with their job, one named recent case told from its start, where their part starts and ends confirmed from that story, weekly volume and time right after it, three to five main steps taken one at a time and each probed for systems, fields read and filled in, buttons and actions, re-entry, decisions and branches (what decides each 'sometimes' or 'it depends'), exceptions, rework, frequency and hands-on time, one follow-up for vague answers, a pacing rule that shortens the rest when they are short on time, their own view, and a close that reads the numbers and branches back. The screenshare director starts from the matching checklist. Team and organization interviews keep their landscape prompt but gain the blocking close and a landscape director that tracks areas, high-level processes, owners and dependencies. The director's map is also the notes it shares with the voice model: after each director pass the client sends the voice model a short private brief rendered from the map (settled topics, then open items with what is known and the missing fact), and the director keeps each step open until its actor, system, fields, action, decision rule, exceptions and handoff are known. On a process set to build on what's known, the director reads each document, recording and session in the background when it settles, reads everything again when one is removed, and a new full interview starts from those notes: it opens by saying it has some context, still has the person walk through a recent case for their part, skips questions the notes already answer, raises the open areas, and asks each person for their own workload, pain points and headcount, and the close waits for that walkthrough; the start screen catches up on unread material before the Start button is enabled. Processes set to start fresh each time and targeted follow-ups only gain the brief. A module's process is not affected. Onboarding and module-setup interviews with authoritative guidance keep their own prompts. Resolved for the interviewee (user, then team); the background reading is resolved for the person who added the capture. Off by default: the prompt and the director checklist are unchanged."
23839
23885
  },
23840
23886
  CLARITY_INTERVIEW_EVALS: {
23841
23887
  key: "clarity_interview_evals",
@@ -24085,6 +24131,12 @@ var FEATURE_FLAG_CATALOGUE = {
24085
24131
  stage: "dev",
24086
24132
  description: "Enables only the predefined public subset of OSS models (PUBLIC_OSS_MODEL_IDS: kimi-k3.1-pro-duvo, Kimi K3.1 Pro served from the Duvo GPU cluster, shown as a beta) for Agent runs \u2014 same save/dispatch gating semantics as oss_models but scoped to that subset. Teams with oss_models on already have access to the full model set, including the public subset; with both flags off, OSS ids are rejected at save and downgrade to the platform default at dispatch. Also shows the Standard vs. Preview effective-model breakdown in the organization Usage Insights Total runs tile and enables its server-side aggregation, resolved for the viewing user and organization without a team scope. Does not change billing charges. Off-by-default for staged rollout; both the rollout control and the kill-switch for the public subset and Usage Insights model breakdown."
24087
24133
  },
24134
+ PERMISSION_ENFORCEMENT: {
24135
+ key: "permission_enforcement",
24136
+ defaultValue: false,
24137
+ stage: "dev",
24138
+ description: "Narrowing-only permission enforcement (groundwork for phase 2 of the permission-composed roles RFC, default off). While on for a request's user, team or organization, backend-node refuses with 403 `no_permission` any request to a route whose declared catalogue permission the actor's built-in roles do not hold at the place the request was authorized against, before the handler runs. It never grants anything: `requiresRole` and every handler check still run. It enforces at a team a check confirmed, at a team the URL names, at the session team when no query or body field the route's schema declares names another place (a Pulse tenant header, or a field the schema does not declare, never moves the decision), and at an organization only for an `org.*` permission. It does not enforce, and counts in `authz_permission_enforcement_total`, credentials without a user role, Process grants, Pulse dashboard contexts, the session team while a declared query or body field, or a Pulse tenant header on a route whose handler authorizes that tenant (`placeFromPulseHeaders`), names another team or organization (`place_unconfirmed`), no place, an `org.*` permission at the session team, org-owned resources, and team permissions at an organization. Resolved for the request's user, team and organization, so it can be turned on for specific ones."
24139
+ },
24088
24140
  PORTFOLIO_INTELLIGENCE: {
24089
24141
  key: "portfolio_intelligence",
24090
24142
  defaultValue: false,
@@ -33358,7 +33410,6 @@ var startInterviewCaptureBodySchema2 = z432.object({
33358
33410
  */
33359
33411
  language: clarityInterviewLanguageValueSchema2.optional(),
33360
33412
  extraCaptureRequestId: z432.guid().optional(),
33361
- processNodeId: z432.guid().optional(),
33362
33413
  /**
33363
33414
  * Set when the capture is started to fulfil a module setup interview
33364
33415
  * (`automation_config_interview`). The route validates the interview is
@@ -52458,12 +52509,18 @@ var removeMemberResponseSchema2 = z159.object({
52458
52509
  nextTeamId: z159.guid().nullable(),
52459
52510
  planType: extensibleEnum2(["pro", "business", "enterprise"]).nullable()
52460
52511
  });
52512
+ var memberAccessSchema2 = z159.object({
52513
+ mode: extensibleEnum2(["role", "permission"]),
52514
+ permissions: z159.array(z159.string())
52515
+ });
52461
52516
  var getMemberMeResponseSchema2 = z159.object({
52462
52517
  role: z159.string().nullable(),
52463
52518
  // True only when a real `user_team_memberships` row exists. `role` can be a
52464
52519
  // read-only *virtual* role for org leaders who haven't joined, so it is not a
52465
52520
  // membership signal on its own — use this flag to tell a real member apart.
52466
- isMember: z159.boolean()
52521
+ isMember: z159.boolean(),
52522
+ // Absent until the server resolves access; the app then displays by role.
52523
+ access: memberAccessSchema2.optional()
52467
52524
  });
52468
52525
  var addTeamMemberRequestSchema2 = z159.object({
52469
52526
  userId: z159.guid(),
@@ -66189,19 +66246,6 @@ var CLARITY_READ_TOOLS = [
66189
66246
  ],
66190
66247
  description: "Read one organization-level interview and its transcript."
66191
66248
  },
66192
- {
66193
- name: "listClarityLandscapeNodeInterviews",
66194
- scope: "v1+v2",
66195
- read_only: true,
66196
- commands: ["duvo clarity interviews node list"],
66197
- endpoints: [
66198
- {
66199
- method: "GET",
66200
- path: "/v2/organizations/:orgId/clarity/hierarchy/nodes/:nodeId/interviews"
66201
- }
66202
- ],
66203
- description: "List interviews linked to one Process Landscape folder."
66204
- },
66205
66249
  {
66206
66250
  name: "listClarityTeamInterviews",
66207
66251
  scope: "v1+v2",
@@ -66485,19 +66529,6 @@ var CLARITY_WRITE_TOOLS = [
66485
66529
  ],
66486
66530
  description: "Complete an organization document capture after upload."
66487
66531
  },
66488
- {
66489
- name: "deleteClarityLandscapeNodeInterview",
66490
- scope: "v1+v2",
66491
- read_only: false,
66492
- commands: ["duvo clarity interviews node delete"],
66493
- endpoints: [
66494
- {
66495
- method: "DELETE",
66496
- path: "/v2/organizations/:orgId/clarity/hierarchy/nodes/:nodeId/interviews/:interviewId"
66497
- }
66498
- ],
66499
- description: "Delete an interview linked to a Process Landscape folder."
66500
- },
66501
66532
  {
66502
66533
  name: "deleteClarityTeamInterview",
66503
66534
  scope: "v1+v2",
@@ -68871,7 +68902,6 @@ var INTERVIEW_COLUMNS = [
68871
68902
  function registerClarityInterviews(clarity) {
68872
68903
  const interviews = clarity.command("interviews").description("Manage organization, landscape, and team interview captures");
68873
68904
  registerOrganizationInterviews(interviews);
68874
- registerNodeInterviews(interviews);
68875
68905
  registerTeamInterviews(interviews);
68876
68906
  }
68877
68907
  __name(registerClarityInterviews, "registerClarityInterviews");
@@ -68886,16 +68916,6 @@ function registerOrganizationInterviews(interviews) {
68886
68916
  organization.command("invite-notetaker").description("Invite the Clarity notetaker to an organization meeting").option("--org <org-id>", ORG_FLAG_DESCRIPTION).requiredOption("--meeting-url <url>", "supported meeting URL").option("--title <title>", "interview title").option("--json", "output raw JSON from the API").action(inviteOrganizationNotetaker);
68887
68917
  }
68888
68918
  __name(registerOrganizationInterviews, "registerOrganizationInterviews");
68889
- function registerNodeInterviews(interviews) {
68890
- const node = interviews.command("node").description(
68891
- "Manage interview captures linked to a Process Landscape node"
68892
- );
68893
- node.command("list <node-id>").description("List interview captures linked to a Process Landscape node").option("--org <org-id>", ORG_FLAG_DESCRIPTION).option("--limit <n>", `page size (${MIN_LIMIT7}-${MAX_LIMIT7})`).option("--offset <n>", "number of interviews to skip").option("--json", "output raw JSON from the API").action(listNodeInterviews);
68894
- node.command("delete <node-id> <interview-id>").description(
68895
- "Delete an interview capture linked to a Process Landscape node"
68896
- ).option("--org <org-id>", ORG_FLAG_DESCRIPTION).option("-y, --yes", "skip the confirmation prompt").option("--json", "output the deletion result as JSON").action(deleteNodeInterview);
68897
- }
68898
- __name(registerNodeInterviews, "registerNodeInterviews");
68899
68919
  function registerTeamInterviews(interviews) {
68900
68920
  const team = interviews.command("team").description("Manage team-level Clarity interviews");
68901
68921
  team.command("list").description("List team-level Clarity interviews").option("--limit <n>", `page size (${MIN_LIMIT7}-${MAX_LIMIT7})`).option("--offset <n>", "number of interviews to skip").option("--json", "output raw JSON from the API").action(listTeamInterviews);
@@ -69019,37 +69039,6 @@ async function inviteOrganizationNotetaker(options) {
69019
69039
  console.log(`Notetaker invited: ${response.interviewId}`);
69020
69040
  }
69021
69041
  __name(inviteOrganizationNotetaker, "inviteOrganizationNotetaker");
69022
- async function listNodeInterviews(rawNodeId, options) {
69023
- const nodeId = trimRequired(rawNodeId, "<node-id>");
69024
- const config = await requireAuthenticatedConfig(this);
69025
- const raw = await httpRequest({
69026
- method: "GET",
69027
- path: resolveOrgPath(
69028
- this,
69029
- `/clarity/hierarchy/nodes/${encodeURIComponent(nodeId)}/interviews`
69030
- ),
69031
- apiKey: config.apiKey,
69032
- apiBaseUrl: config.apiBaseUrl,
69033
- searchParams: buildPagination(options)
69034
- });
69035
- const response = parseClarityResponse(listTeamInterviewResponseSchema, raw);
69036
- renderInterviewList(response.interviews, response.total, options);
69037
- }
69038
- __name(listNodeInterviews, "listNodeInterviews");
69039
- async function deleteNodeInterview(rawNodeId, rawInterviewId, options) {
69040
- const nodeId = trimRequired(rawNodeId, "<node-id>");
69041
- const interviewId = trimRequired(rawInterviewId, "<interview-id>");
69042
- await deleteInterview(
69043
- this,
69044
- resolveOrgPath(
69045
- this,
69046
- `/clarity/hierarchy/nodes/${encodeURIComponent(nodeId)}/interviews/${encodeURIComponent(interviewId)}`
69047
- ),
69048
- interviewId,
69049
- options
69050
- );
69051
- }
69052
- __name(deleteNodeInterview, "deleteNodeInterview");
69053
69042
  async function listTeamInterviews(options) {
69054
69043
  const config = await requireAuthenticatedConfig(this);
69055
69044
  const teamId = await resolveRequiredTeamId(config, {
@@ -85714,7 +85703,7 @@ __name(isStandaloneBinary, "isStandaloneBinary");
85714
85703
  import { createRequire } from "node:module";
85715
85704
  function getPackageMeta() {
85716
85705
  if (true) {
85717
- return { name: "@duvoai/cli", version: "1.108.0" };
85706
+ return { name: "@duvoai/cli", version: "1.109.0" };
85718
85707
  }
85719
85708
  const require2 = createRequire(import.meta.url);
85720
85709
  const raw = require2("../../package.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvoai/cli",
3
- "version": "1.108.0",
3
+ "version": "1.109.0",
4
4
  "description": "Command-line interface for the Duvo public API",
5
5
  "bin": {
6
6
  "duvo": "./dist/bin/duvo.js"
@@ -24,6 +24,7 @@
24
24
  "esbuild": "^0.25.6",
25
25
  "tsx": "^4.20.3",
26
26
  "typescript": "^5.7.2",
27
+ "typescript7": "npm:typescript@7.0.2",
27
28
  "vitest": "^3.2.4"
28
29
  },
29
30
  "engines": {
@@ -34,7 +35,7 @@
34
35
  "build:watch": "node scripts/build.mjs --watch",
35
36
  "build:binaries": "node scripts/build-binaries.mjs",
36
37
  "dev": "tsx src/bin/duvo.ts",
37
- "typecheck": "tsc --noEmit",
38
+ "typecheck": "node ./node_modules/typescript7/lib/tsc.js --noEmit",
38
39
  "test": "vitest run --passWithNoTests",
39
40
  "test:watch": "vitest"
40
41
  }