@deepraxis/cli 0.1.0-dev.bba7594 → 0.1.0-dev.d939e0f

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/COMMANDS.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generated by `bun run commands`. DO NOT EDIT.
4
4
 
5
- 346 HTTP operations; 348 commands including aliases.
5
+ 358 HTTP operations; 360 commands including aliases.
6
6
 
7
7
  Environment: `PRAXIS_ENV=develop|production` (dev package defaults to `develop`; stable package defaults to `production`). No `--env` option.
8
8
 
@@ -43,6 +43,11 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
43
43
  | `praxis agent embed-token create` | `agent.embedTokens.create` | POST `/agent/v1/embed_tokens` | `--agent`, `--param-version`, `--external-user-id`, `--ttl-seconds`, `--budget-cents`, `--allowed-origins` |
44
44
  | `praxis agent embed-token list` | `agent.embedTokens.list` | GET `/agent/v1/embed_tokens` | `--agent-id`, `--external-user-id`, `--param-limit`, `--page` |
45
45
  | `praxis agent embed-token revoke create` | `agent.embedTokens.revoke.create` | POST `/agent/v1/embed_tokens/{id}/revoke` | `--embed-token` |
46
+ | `praxis agent end-user block create` | `agent.agents.endUsers.block.create` | POST `/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block` | `--agent`, `--end-user` |
47
+ | `praxis agent end-user get <external_user_id>` | `agent.agents.endUsers.retrieve` | GET `/agent/v1/agents/{agent_id}/end_users/{external_user_id}` | `--agent` |
48
+ | `praxis agent end-user list` | `agent.agents.endUsers.list` | GET `/agent/v1/agents/{agent_id}/end_users` | `--agent`, `--param-limit`, `--page`, `--q` |
49
+ | `praxis agent end-user revoke-token create` | `agent.agents.endUsers.revokeTokens.create` | POST `/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens` | `--agent`, `--end-user` |
50
+ | `praxis agent end-user unblock create` | `agent.agents.endUsers.unblock.create` | POST `/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock` | `--agent`, `--end-user` |
46
51
  | `praxis agent environment archive <environment_id>` | `agent.environments.archive` | POST `/agent/v1/environments/{environment_id}/archive` | |
47
52
  | `praxis agent environment create` | `agent.environments.create` | POST `/agent/v1/environments` | `--name`, `--description`, `--scope` |
48
53
  | `praxis agent environment get <environment_id>` | `agent.environments.retrieve` | GET `/agent/v1/environments/{environment_id}` | |
@@ -64,11 +69,13 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
64
69
  | `praxis agent session get <session_id>` | `agent.sessions.retrieve` | GET `/agent/v1/sessions/{session_id}` | |
65
70
  | `praxis agent session get-compact <operation_id>` | `agent.sessions.retrieveCompact` | GET `/agent/v1/sessions/{session_id}/compact/{operation_id}` | `--session` |
66
71
  | `praxis agent session get-context <session_id>` | `agent.sessions.retrieveContext` | GET `/agent/v1/sessions/{session_id}/context` | |
67
- | `praxis agent session list` | `agent.sessions.list` | GET `/agent/v1/sessions` | `--agent-id`, `--agent-version`, `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--deployment-id`, `--include-archived`, `--memory-store-id`, `--order`, `--statuses`, `--param-limit`, `--page` |
72
+ | `praxis agent session list` | `agent.sessions.list` | GET `/agent/v1/sessions` | `--agent-id`, `--agent-version`, `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--deployment-id`, `--include-archived`, `--memory-store-id`, `--order`, `--statuses`, `--param-limit`, `--page`, `--external-user-id`, `--source` |
68
73
  | `praxis agent session resource create` | `agent.sessions.resources.create` | POST `/agent/v1/sessions/{session_id}/resources` | `--session`, `--type`, `--file-id`, `--mount-path` |
69
74
  | `praxis agent session resource delete <resource_id>` | `agent.sessions.resources.delete` | DELETE `/agent/v1/sessions/{session_id}/resources/{resource_id}` | `--session`, `--query-session-id` |
70
75
  | `praxis agent session resource get <resource_id>` | `agent.sessions.resources.retrieve` | GET `/agent/v1/sessions/{session_id}/resources/{resource_id}` | `--session`, `--query-session-id` |
71
76
  | `praxis agent session resource list` | `agent.sessions.resources.list` | GET `/agent/v1/sessions/{session_id}/resources` | `--session`, `--param-limit`, `--page` |
77
+ | `praxis agent session run delete-feedback <run_id>` | `agent.sessions.runs.deleteFeedback` | DELETE `/agent/v1/sessions/{session_id}/runs/{run_id}/feedback` | `--session` |
78
+ | `praxis agent session run feedback create` | `agent.sessions.runs.feedback.create` | POST `/agent/v1/sessions/{session_id}/runs/{run_id}/feedback` | `--session`, `--run`, `--rating`, `--comment` |
72
79
  | `praxis agent session thread archive <thread_id>` | `agent.sessions.threads.archive` | POST `/agent/v1/sessions/{session_id}/threads/{thread_id}/archive` | `--session`, `--query-session-id` |
73
80
  | `praxis agent session thread event list` | `agent.sessions.threads.events.list` | GET `/agent/v1/sessions/{session_id}/threads/{thread_id}/events` | `--session`, `--thread`, `--query-session-id`, `--param-limit`, `--page` |
74
81
  | `praxis agent session thread get <thread_id>` | `agent.sessions.threads.retrieve` | GET `/agent/v1/sessions/{session_id}/threads/{thread_id}` | `--session`, `--query-session-id` |
@@ -303,7 +310,12 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
303
310
  | `praxis organization cost list` | `organization.costs.list` | GET `/organization/v1/costs` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
304
311
  | `praxis organization event get <id>` | `organization.events.retrieve` | GET `/organization/v1/events/{id}` | |
305
312
  | `praxis organization event list` | `organization.events.list` | GET `/organization/v1/events` | `--starting-at`, `--ending-at`, `--param-limit`, `--page` |
306
- | `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--source` |
313
+ | `praxis organization feedback count list` | `organization.feedback.counts.list` | GET `/organization/v1/feedback/counts` | |
314
+ | `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--title`, `--type`, `--source` |
315
+ | `praxis organization feedback get <id>` | `organization.feedback.retrieve` | GET `/organization/v1/feedback/{id}` | |
316
+ | `praxis organization feedback list` | `organization.feedback.list` | GET `/organization/v1/feedback` | `--phase`, `--query`, `--param-limit`, `--page` |
317
+ | `praxis organization feedback message create` | `organization.feedback.messages.create` | POST `/organization/v1/feedback/{id}/messages` | `--feedback`, `--body` |
318
+ | `praxis organization feedback message list` | `organization.feedback.messages.list` | GET `/organization/v1/feedback/{id}/messages` | `--feedback`, `--param-limit`, `--page` |
307
319
  | `praxis organization usage list` | `organization.usage.list` | GET `/organization/v1/usage` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
308
320
  | `praxis sandbox command run <sandbox_id>` | `sandbox.sandboxes.commands.run` | POST `/sandbox/v1/sandboxes/{sandbox_id}/commands` | `--cmd`, `--cwd`, `--timeout-ms` |
309
321
  | `praxis sandbox connect <sandboxID>` | `sandbox.sandboxes.connect` | POST `/sandbox/v1/sandboxes/{sandboxID}/connect` | `--timeout`, `--memory` |
package/dist/praxis.js CHANGED
@@ -101,7 +101,7 @@ var operations = [
101
101
  type: "array",
102
102
  itemType: "object",
103
103
  required: false,
104
- description: "MCP servers this agent connects to. Maximum 20. Names must be unique\nwithin the array. Every server must be referenced by an `mcp_toolset` in\n`tools`; unreferenced servers are rejected. See the\n[MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector)."
104
+ description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
105
105
  },
106
106
  {
107
107
  name: "metadata",
@@ -241,7 +241,7 @@ across all toolsets allowed.`
241
241
  type: "array",
242
242
  itemType: "object",
243
243
  required: false,
244
- description: "MCP servers. Full replacement. Omit to preserve; send empty array or\n`null` to clear. Names must be unique. Maximum 20. Every server must be\nreferenced by an `mcp_toolset` in the agent's resulting `tools`; unreferenced\nservers are rejected. See the\n[MCP connector guide](https://platform.claude.com/docs/en/managed-agents/mcp-connector)."
244
+ description: "Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version."
245
245
  },
246
246
  {
247
247
  name: "metadata",
@@ -369,6 +369,136 @@ current version; omit to apply the update unconditionally.`
369
369
  ],
370
370
  query: []
371
371
  },
372
+ {
373
+ resource: "agent.agents.endUsers",
374
+ method: "list",
375
+ summary: "List End Users",
376
+ description: `List users who have sessions or token issuance history on a service agent.
377
+
378
+ Ordered by last_active_at and external_user_id descending. q is a case-sensitive literal prefix, including underscores. limit is 1–100, default 20. Reuse next_page with the same organization, agent, q and limit. Preemptively blocked users without history do not appear. End-user credentials and inaccessible or personal agents return 404.`,
379
+ http: "GET",
380
+ path: "/agent/v1/agents/{agent_id}/end_users",
381
+ streaming: "no",
382
+ pagination: false,
383
+ pathParams: [
384
+ {
385
+ name: "agent_id",
386
+ sdkName: "agent_id"
387
+ }
388
+ ],
389
+ query: [
390
+ {
391
+ name: "limit",
392
+ type: "integer",
393
+ required: false,
394
+ description: "Maximum users per page; defaults to 20."
395
+ },
396
+ {
397
+ name: "page",
398
+ type: "string",
399
+ required: false,
400
+ description: "next_page from the previous response with the same agent, q and limit."
401
+ },
402
+ {
403
+ name: "q",
404
+ type: "string",
405
+ required: false,
406
+ description: "Case-sensitive literal prefix of external_user_id; omit or use an empty string for all users."
407
+ }
408
+ ]
409
+ },
410
+ {
411
+ resource: "agent.agents.endUsers",
412
+ method: "retrieve",
413
+ summary: "Get End User",
414
+ description: `Inspect one end user and their twenty most recently updated sessions.
415
+
416
+ Use external_user_id from listing or your host application. Users without session or issuance history return 404, including preemptively blocked users. End-user credentials and inaccessible or personal agents return 404.`,
417
+ http: "GET",
418
+ path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
419
+ streaming: "no",
420
+ pagination: false,
421
+ pathParams: [
422
+ {
423
+ name: "agent_id",
424
+ sdkName: "agent_id"
425
+ },
426
+ {
427
+ name: "external_user_id",
428
+ sdkName: "external_user_id"
429
+ }
430
+ ],
431
+ query: []
432
+ },
433
+ {
434
+ resource: "agent.agents.endUsers.block",
435
+ method: "create",
436
+ summary: "Block End User",
437
+ description: `Block token issuance and session creation, then revoke existing tokens for an end user.
438
+
439
+ May block a user before any history exists; timestamps are then null and counts and cost are zero. Requires an embed policy, otherwise returns 409 with setup guidance. Deduplicates the policy blocklist and retains its 1000-user maximum. If revocation returns 502, the user remains blocked; retry to finish revocation. Repeats keep the user blocked and revoke any remaining grants. End-user credentials and inaccessible or personal agents return 404.`,
440
+ http: "POST",
441
+ path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block",
442
+ streaming: "no",
443
+ pagination: false,
444
+ pathParams: [
445
+ {
446
+ name: "agent_id",
447
+ sdkName: "agent_id"
448
+ },
449
+ {
450
+ name: "external_user_id",
451
+ sdkName: "external_user_id"
452
+ }
453
+ ],
454
+ query: []
455
+ },
456
+ {
457
+ resource: "agent.agents.endUsers.revokeTokens",
458
+ method: "create",
459
+ summary: "Revoke End User Tokens",
460
+ description: `Revoke all issued tokens for an end user and terminate their open embed streams.
461
+
462
+ Revokes credentials before marking grants revoked. Upstream failure returns 502 without changing grant revocation timestamps. Returns the count of newly revoked grants; a repeat without new grants returns zero. Does not block future issuance. End-user credentials and inaccessible or personal agents return 404.`,
463
+ http: "POST",
464
+ path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens",
465
+ streaming: "no",
466
+ pagination: false,
467
+ pathParams: [
468
+ {
469
+ name: "agent_id",
470
+ sdkName: "agent_id"
471
+ },
472
+ {
473
+ name: "external_user_id",
474
+ sdkName: "external_user_id"
475
+ }
476
+ ],
477
+ query: []
478
+ },
479
+ {
480
+ resource: "agent.agents.endUsers.unblock",
481
+ method: "create",
482
+ summary: "Unblock End User",
483
+ description: `Allow an end user to receive new tokens and create new sessions again.
484
+
485
+ Removes the user from the blocklist; previously revoked tokens stay revoked. Idempotent. Requires an embed policy, otherwise returns 409 with setup guidance. Returns null timestamps and zero counts and cost when no session or issuance history exists. End-user credentials and inaccessible or personal agents return 404.`,
486
+ http: "POST",
487
+ path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock",
488
+ streaming: "no",
489
+ pagination: false,
490
+ pathParams: [
491
+ {
492
+ name: "agent_id",
493
+ sdkName: "agent_id"
494
+ },
495
+ {
496
+ name: "external_user_id",
497
+ sdkName: "external_user_id"
498
+ }
499
+ ],
500
+ query: []
501
+ },
372
502
  {
373
503
  resource: "agent.agents.versions",
374
504
  method: "list",
@@ -1492,6 +1622,25 @@ owning account only.`
1492
1622
  type: "string",
1493
1623
  required: false,
1494
1624
  description: "Opaque pagination cursor: pass the next_page value of the previous response unchanged. Omit it for the first page. A cursor from a different query or a malformed one returns 400."
1625
+ },
1626
+ {
1627
+ name: "external_user_id",
1628
+ type: "string",
1629
+ required: false,
1630
+ description: "Filter by an exact end-user identifier (1–128 characters: A-Z, a-z, 0-9, underscore, dot, colon, at sign or hyphen). Keep this filter unchanged when following page."
1631
+ },
1632
+ {
1633
+ name: "source",
1634
+ type: "string",
1635
+ enum: [
1636
+ "kit",
1637
+ "iframe",
1638
+ "hosted",
1639
+ "api",
1640
+ "automation"
1641
+ ],
1642
+ required: false,
1643
+ description: "Filter by session origin: kit, iframe, hosted, api or automation. Keep this filter unchanged when following page."
1495
1644
  }
1496
1645
  ]
1497
1646
  },
@@ -1499,7 +1648,7 @@ owning account only.`
1499
1648
  resource: "agent.sessions",
1500
1649
  method: "create",
1501
1650
  summary: "Create session",
1502
- description: `Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
1651
+ description: `Create a session: one conversation with an agent, running on a machine. Pass agent as an agent id (latest version) or {id, version, type:"agent"}. Unlike Anthropic Managed Agents, omit environment_id to get a light machine, unless computer_id (explicit, or the agent's default) selects a Computer; pass environment_id for a sandbox recipe. Optional model must be one of the agent's allowed models; optional thinking is {effort: low|medium|high|xhigh|max|none} or null, where null inherits the agent default and then the model default (none requires the model to allow disabling thinking). Selections are saved before initial_events run; invalid ones return 400 invalid_request_error. Inline agent overrides are not supported. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Omitted budget defaults to USD 20; null removes the limit, and a limit object uses a positive integer string of USD cents. Up to 500 file resources can be attached. Use initial_events to send a first user.message in this request, or send messages afterwards with sessions.events.send. The returned status can still be idle before initial events run; read agent.message and the subsequent session.status_idle event to confirm completion.`,
1503
1652
  http: "POST",
1504
1653
  path: "/agent/v1/sessions",
1505
1654
  streaming: "no",
@@ -2159,6 +2308,73 @@ Available only on /agent/v1. Use the message_id field from own-face events, not
2159
2308
  }
2160
2309
  ]
2161
2310
  },
2311
+ {
2312
+ resource: "agent.sessions.runs",
2313
+ method: "deleteFeedback",
2314
+ summary: "Delete Run Feedback",
2315
+ description: `Remove the rating and comment for a run.
2316
+
2317
+ Own-face extension. Use the session id from session creation or listing and the run_id from its events. Requires a readable session and a run belonging to it. Idempotent; returns 204 even when no feedback exists. End users can delete feedback only for their own sessions. Does not delete the run or messages, enter model context, or start another run.`,
2318
+ http: "DELETE",
2319
+ path: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
2320
+ streaming: "no",
2321
+ pagination: false,
2322
+ pathParams: [
2323
+ {
2324
+ name: "session_id",
2325
+ sdkName: "session_id"
2326
+ },
2327
+ {
2328
+ name: "run_id",
2329
+ sdkName: "run_id"
2330
+ }
2331
+ ],
2332
+ query: []
2333
+ },
2334
+ {
2335
+ resource: "agent.sessions.runs.feedback",
2336
+ method: "create",
2337
+ summary: "Set Run Feedback",
2338
+ description: `Submit thumbs up or thumbs down for a run, with an optional comment.
2339
+
2340
+ Own-face extension. Use a readable session and a run_id from its events. Each submission replaces the previous rating and comment; omitted or null comment clears it, while created_at is preserved. Comments allow at most 2000 Unicode characters. End users can submit only for their own sessions. Feedback never enters model context or starts a run. For example, submit {"rating":"positive","comment":"Helpful"}. POST follows Managed Agents resource update conventions; the resource remains unique per session and run.`,
2341
+ http: "POST",
2342
+ path: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
2343
+ streaming: "no",
2344
+ pagination: false,
2345
+ pathParams: [
2346
+ {
2347
+ name: "session_id",
2348
+ sdkName: "session_id"
2349
+ },
2350
+ {
2351
+ name: "run_id",
2352
+ sdkName: "run_id"
2353
+ }
2354
+ ],
2355
+ query: [],
2356
+ body: {
2357
+ required: true,
2358
+ fields: [
2359
+ {
2360
+ name: "rating",
2361
+ type: "string",
2362
+ enum: [
2363
+ "positive",
2364
+ "negative"
2365
+ ],
2366
+ required: true,
2367
+ description: "positive means thumbs up; negative means thumbs down for this run."
2368
+ },
2369
+ {
2370
+ name: "comment",
2371
+ type: "string",
2372
+ required: false,
2373
+ description: "Optional comment, at most 2000 Unicode characters. Omit or send null to clear the previous comment."
2374
+ }
2375
+ ]
2376
+ }
2377
+ },
2162
2378
  {
2163
2379
  resource: "agent.sessions.threads",
2164
2380
  method: "list",
@@ -11599,6 +11815,43 @@ for more details.`
11599
11815
  ],
11600
11816
  query: []
11601
11817
  },
11818
+ {
11819
+ resource: "organization.feedback",
11820
+ method: "list",
11821
+ summary: "List your organization's feedback",
11822
+ description: "Feedback submitted by your organization, newest first, with phase and unread state. Filter by phase and search titles and message text (case-insensitive). Page with next_page. Requires a valid API key, Console session, or machine token of the organization.",
11823
+ http: "GET",
11824
+ path: "/organization/v1/feedback",
11825
+ streaming: "no",
11826
+ pagination: false,
11827
+ pathParams: [],
11828
+ query: [
11829
+ {
11830
+ name: "phase",
11831
+ type: "string",
11832
+ required: false,
11833
+ description: "Only feedback in these phases: a comma-separated list of open, awaiting_customer, in_progress, resolved or closed, for example open,in_progress; see the phase field of a feedback for what each means."
11834
+ },
11835
+ {
11836
+ name: "query",
11837
+ type: "string",
11838
+ required: false,
11839
+ description: "Case-insensitive text matched against titles and message bodies."
11840
+ },
11841
+ {
11842
+ name: "limit",
11843
+ type: "integer",
11844
+ required: false,
11845
+ description: "Items per page, 1 to 100."
11846
+ },
11847
+ {
11848
+ name: "page",
11849
+ type: "string",
11850
+ required: false,
11851
+ description: "Opaque cursor from next_page of the previous response."
11852
+ }
11853
+ ]
11854
+ },
11602
11855
  {
11603
11856
  resource: "organization.feedback",
11604
11857
  method: "create",
@@ -11643,6 +11896,18 @@ for more details.`
11643
11896
  required: false,
11644
11897
  description: "X-Request-Id from the failed response or the related error event ID."
11645
11898
  },
11899
+ {
11900
+ name: "title",
11901
+ type: "string",
11902
+ required: false,
11903
+ description: "Short summary shown in the feedback list; at most 200 Unicode code points."
11904
+ },
11905
+ {
11906
+ name: "type",
11907
+ type: "string",
11908
+ required: false,
11909
+ description: "Feedback type key enabled in the help settings, such as issue, suggestion, billing or other. Unknown or disabled keys are rejected with INVALID_PARAMS."
11910
+ },
11646
11911
  {
11647
11912
  name: "tags",
11648
11913
  type: "object",
@@ -11675,6 +11940,100 @@ for more details.`
11675
11940
  ]
11676
11941
  }
11677
11942
  },
11943
+ {
11944
+ resource: "organization.feedback.counts",
11945
+ method: "list",
11946
+ summary: "Count your organization's feedback by phase",
11947
+ description: "How many of your organization's feedback are in each phase, for status tabs. Counts never include another organization's feedback.",
11948
+ http: "GET",
11949
+ path: "/organization/v1/feedback/counts",
11950
+ streaming: "no",
11951
+ pagination: false,
11952
+ pathParams: [],
11953
+ query: []
11954
+ },
11955
+ {
11956
+ resource: "organization.feedback",
11957
+ method: "retrieve",
11958
+ summary: "Get one of your organization's feedback",
11959
+ description: "Read one feedback submitted by your organization with its current phase and first-response timing. Another organization's feedback answers 404 FEEDBACK_NOT_FOUND exactly like a missing one.",
11960
+ http: "GET",
11961
+ path: "/organization/v1/feedback/{id}",
11962
+ streaming: "no",
11963
+ pagination: false,
11964
+ pathParams: [
11965
+ {
11966
+ name: "id",
11967
+ sdkName: "id"
11968
+ }
11969
+ ],
11970
+ query: []
11971
+ },
11972
+ {
11973
+ resource: "organization.feedback.messages",
11974
+ method: "list",
11975
+ summary: "List the messages of a feedback",
11976
+ description: "The conversation of one feedback in time order: your messages, support replies and system events. Internal support notes are never returned. Page with next_page.",
11977
+ http: "GET",
11978
+ path: "/organization/v1/feedback/{id}/messages",
11979
+ streaming: "no",
11980
+ pagination: false,
11981
+ pathParams: [
11982
+ {
11983
+ name: "id",
11984
+ sdkName: "id"
11985
+ }
11986
+ ],
11987
+ query: [
11988
+ {
11989
+ name: "limit",
11990
+ type: "integer",
11991
+ required: false,
11992
+ description: "Items per page, 1 to 100."
11993
+ },
11994
+ {
11995
+ name: "page",
11996
+ type: "string",
11997
+ required: false,
11998
+ description: "Opaque cursor from next_page of the previous response."
11999
+ }
12000
+ ]
12001
+ },
12002
+ {
12003
+ resource: "organization.feedback.messages",
12004
+ method: "create",
12005
+ summary: "Reply on a feedback",
12006
+ description: "Add your message to a feedback conversation, for example to answer a question from support. A reply while the phase is awaiting_customer moves it to in_progress and notifies support.",
12007
+ http: "POST",
12008
+ path: "/organization/v1/feedback/{id}/messages",
12009
+ streaming: "no",
12010
+ pagination: false,
12011
+ pathParams: [
12012
+ {
12013
+ name: "id",
12014
+ sdkName: "id"
12015
+ }
12016
+ ],
12017
+ query: [],
12018
+ body: {
12019
+ required: true,
12020
+ fields: [
12021
+ {
12022
+ name: "body",
12023
+ type: "string",
12024
+ required: true,
12025
+ description: "Markdown text; at most 4096 Unicode code points."
12026
+ },
12027
+ {
12028
+ name: "attachments",
12029
+ type: "array",
12030
+ itemType: "object",
12031
+ required: false,
12032
+ description: "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total."
12033
+ }
12034
+ ]
12035
+ }
12036
+ },
11678
12037
  {
11679
12038
  resource: "organization.usage",
11680
12039
  method: "list",
@@ -14897,6 +15256,101 @@ var createClient = (config = {}) => {
14897
15256
  var client = createClient(createConfig({ baseUrl: "https://api.deepraxis.com" }));
14898
15257
 
14899
15258
  // ../../packages/sdk/typescript/src/generated/sdk.gen.ts
15259
+ var deleteRunFeedback = (options) => (options.client ?? client).delete({
15260
+ security: [{
15261
+ key: "BearerAuth",
15262
+ scheme: "bearer",
15263
+ type: "http"
15264
+ }, {
15265
+ key: "ApiKeyAuth",
15266
+ name: "X-API-Key",
15267
+ type: "apiKey"
15268
+ }],
15269
+ url: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
15270
+ ...options
15271
+ });
15272
+ var setRunFeedback = (options) => (options.client ?? client).post({
15273
+ security: [{
15274
+ key: "BearerAuth",
15275
+ scheme: "bearer",
15276
+ type: "http"
15277
+ }, {
15278
+ key: "ApiKeyAuth",
15279
+ name: "X-API-Key",
15280
+ type: "apiKey"
15281
+ }],
15282
+ url: "/agent/v1/sessions/{session_id}/runs/{run_id}/feedback",
15283
+ ...options,
15284
+ headers: {
15285
+ "Content-Type": "application/json",
15286
+ ...options.headers
15287
+ }
15288
+ });
15289
+ var listEndUsers = (options) => (options.client ?? client).get({
15290
+ security: [{
15291
+ key: "BearerAuth",
15292
+ scheme: "bearer",
15293
+ type: "http"
15294
+ }, {
15295
+ key: "ApiKeyAuth",
15296
+ name: "X-API-Key",
15297
+ type: "apiKey"
15298
+ }],
15299
+ url: "/agent/v1/agents/{agent_id}/end_users",
15300
+ ...options
15301
+ });
15302
+ var getEndUser = (options) => (options.client ?? client).get({
15303
+ security: [{
15304
+ key: "BearerAuth",
15305
+ scheme: "bearer",
15306
+ type: "http"
15307
+ }, {
15308
+ key: "ApiKeyAuth",
15309
+ name: "X-API-Key",
15310
+ type: "apiKey"
15311
+ }],
15312
+ url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
15313
+ ...options
15314
+ });
15315
+ var revokeEndUserTokens = (options) => (options.client ?? client).post({
15316
+ security: [{
15317
+ key: "BearerAuth",
15318
+ scheme: "bearer",
15319
+ type: "http"
15320
+ }, {
15321
+ key: "ApiKeyAuth",
15322
+ name: "X-API-Key",
15323
+ type: "apiKey"
15324
+ }],
15325
+ url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens",
15326
+ ...options
15327
+ });
15328
+ var blockEndUser = (options) => (options.client ?? client).post({
15329
+ security: [{
15330
+ key: "BearerAuth",
15331
+ scheme: "bearer",
15332
+ type: "http"
15333
+ }, {
15334
+ key: "ApiKeyAuth",
15335
+ name: "X-API-Key",
15336
+ type: "apiKey"
15337
+ }],
15338
+ url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block",
15339
+ ...options
15340
+ });
15341
+ var unblockEndUser = (options) => (options.client ?? client).post({
15342
+ security: [{
15343
+ key: "BearerAuth",
15344
+ scheme: "bearer",
15345
+ type: "http"
15346
+ }, {
15347
+ key: "ApiKeyAuth",
15348
+ name: "X-API-Key",
15349
+ type: "apiKey"
15350
+ }],
15351
+ url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock",
15352
+ ...options
15353
+ });
14900
15354
  var listEmbedTokens = (options) => (options?.client ?? client).get({
14901
15355
  security: [{
14902
15356
  key: "BearerAuth",
@@ -15946,6 +16400,19 @@ var countResponseInputTokens = (options) => (options.client ?? client).post({
15946
16400
  ...options.headers
15947
16401
  }
15948
16402
  });
16403
+ var listOrganizationFeedback = (options) => (options?.client ?? client).get({
16404
+ security: [{
16405
+ key: "BearerAuth",
16406
+ scheme: "bearer",
16407
+ type: "http"
16408
+ }, {
16409
+ key: "ApiKeyAuth",
16410
+ name: "X-API-Key",
16411
+ type: "apiKey"
16412
+ }],
16413
+ url: "/organization/v1/feedback",
16414
+ ...options
16415
+ });
15949
16416
  var createOrganizationFeedback = (options) => (options.client ?? client).post({
15950
16417
  security: [{
15951
16418
  key: "BearerAuth",
@@ -15963,6 +16430,62 @@ var createOrganizationFeedback = (options) => (options.client ?? client).post({
15963
16430
  ...options.headers
15964
16431
  }
15965
16432
  });
16433
+ var getOrganizationFeedbackCounts = (options) => (options?.client ?? client).get({
16434
+ security: [{
16435
+ key: "BearerAuth",
16436
+ scheme: "bearer",
16437
+ type: "http"
16438
+ }, {
16439
+ key: "ApiKeyAuth",
16440
+ name: "X-API-Key",
16441
+ type: "apiKey"
16442
+ }],
16443
+ url: "/organization/v1/feedback/counts",
16444
+ ...options
16445
+ });
16446
+ var getOrganizationFeedback = (options) => (options.client ?? client).get({
16447
+ security: [{
16448
+ key: "BearerAuth",
16449
+ scheme: "bearer",
16450
+ type: "http"
16451
+ }, {
16452
+ key: "ApiKeyAuth",
16453
+ name: "X-API-Key",
16454
+ type: "apiKey"
16455
+ }],
16456
+ url: "/organization/v1/feedback/{id}",
16457
+ ...options
16458
+ });
16459
+ var listOrganizationFeedbackMessages = (options) => (options.client ?? client).get({
16460
+ security: [{
16461
+ key: "BearerAuth",
16462
+ scheme: "bearer",
16463
+ type: "http"
16464
+ }, {
16465
+ key: "ApiKeyAuth",
16466
+ name: "X-API-Key",
16467
+ type: "apiKey"
16468
+ }],
16469
+ url: "/organization/v1/feedback/{id}/messages",
16470
+ ...options
16471
+ });
16472
+ var createOrganizationFeedbackMessage = (options) => (options.client ?? client).post({
16473
+ security: [{
16474
+ key: "BearerAuth",
16475
+ scheme: "bearer",
16476
+ type: "http"
16477
+ }, {
16478
+ key: "ApiKeyAuth",
16479
+ name: "X-API-Key",
16480
+ type: "apiKey"
16481
+ }],
16482
+ url: "/organization/v1/feedback/{id}/messages",
16483
+ ...options,
16484
+ headers: {
16485
+ "Content-Type": "application/json",
16486
+ ...options.headers
16487
+ }
16488
+ });
15966
16489
  var listOrganizationCosts = (options) => (options.client ?? client).get({
15967
16490
  security: [{
15968
16491
  key: "BearerAuth",
@@ -19715,6 +20238,19 @@ function createAgent(transport) {
19715
20238
  agents: {
19716
20239
  archive: bind(transport, agentsArchive),
19717
20240
  create: bind(transport, agentsCreate),
20241
+ endUsers: {
20242
+ block: {
20243
+ create: bind(transport, blockEndUser)
20244
+ },
20245
+ list: bind(transport, listEndUsers),
20246
+ retrieve: bind(transport, getEndUser),
20247
+ revokeTokens: {
20248
+ create: bind(transport, revokeEndUserTokens)
20249
+ },
20250
+ unblock: {
20251
+ create: bind(transport, unblockEndUser)
20252
+ }
20253
+ },
19718
20254
  list: bind(transport, agentsList),
19719
20255
  retrieve: bind(transport, agentsRetrieve),
19720
20256
  update: bind(transport, agentsUpdate),
@@ -19798,6 +20334,12 @@ function createAgent(transport) {
19798
20334
  retrieve: bind(transport, sessionsRetrieve),
19799
20335
  retrieveCompact: bind(transport, getSessionCompaction),
19800
20336
  retrieveContext: bind(transport, getSessionContext),
20337
+ runs: {
20338
+ deleteFeedback: bind(transport, deleteRunFeedback),
20339
+ feedback: {
20340
+ create: bind(transport, setRunFeedback)
20341
+ }
20342
+ },
19801
20343
  threads: {
19802
20344
  archive: bind(transport, aliasOperation(sessionsThreadsArchive, { query: { session_id: "query_session_id" } })),
19803
20345
  events: {
@@ -20272,7 +20814,16 @@ function createOrganization(transport) {
20272
20814
  retrieve: bind(transport, getOrganizationEvent)
20273
20815
  },
20274
20816
  feedback: {
20275
- create: bind(transport, createOrganizationFeedback)
20817
+ counts: {
20818
+ list: bind(transport, getOrganizationFeedbackCounts)
20819
+ },
20820
+ create: bind(transport, createOrganizationFeedback),
20821
+ list: bind(transport, listOrganizationFeedback),
20822
+ messages: {
20823
+ create: bind(transport, createOrganizationFeedbackMessage),
20824
+ list: bind(transport, listOrganizationFeedbackMessages)
20825
+ },
20826
+ retrieve: bind(transport, getOrganizationFeedback)
20276
20827
  },
20277
20828
  usage: {
20278
20829
  list: bind(transport, listOrganizationUsage)
@@ -22462,7 +23013,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
22462
23013
  }
22463
23014
 
22464
23015
  // src/main.ts
22465
- var version = "0.1.0-dev.bba7594";
23016
+ var version = "0.1.0-dev.d939e0f";
22466
23017
  var commands = commandTree(operations);
22467
23018
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
22468
23019
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.0-dev.bba7594",
3
+ "version": "0.1.0-dev.d939e0f",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"
@@ -10,9 +10,6 @@
10
10
  "engines": {
11
11
  "node": ">=20"
12
12
  },
13
- "publishConfig": {
14
- "access": "public"
15
- },
16
13
  "files": [
17
14
  "dist",
18
15
  "README.md",
@@ -31,5 +28,8 @@
31
28
  "ai-agents",
32
29
  "claude-code"
33
30
  ],
34
- "author": "Deepractice"
31
+ "author": "Deepractice",
32
+ "publishConfig": {
33
+ "access": "public"
34
+ }
35
35
  }