@deepraxis/cli 0.1.0-dev.2f9240d → 0.1.0-dev.449ac38

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
- 348 HTTP operations; 350 commands including aliases.
5
+ 353 HTTP operations; 355 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
 
@@ -64,7 +64,7 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
64
64
  | `praxis agent session get <session_id>` | `agent.sessions.retrieve` | GET `/agent/v1/sessions/{session_id}` | |
65
65
  | `praxis agent session get-compact <operation_id>` | `agent.sessions.retrieveCompact` | GET `/agent/v1/sessions/{session_id}/compact/{operation_id}` | `--session` |
66
66
  | `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` |
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`, `--external-user-id`, `--source` |
68
68
  | `praxis agent session resource create` | `agent.sessions.resources.create` | POST `/agent/v1/sessions/{session_id}/resources` | `--session`, `--type`, `--file-id`, `--mount-path` |
69
69
  | `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
70
  | `praxis agent session resource get <resource_id>` | `agent.sessions.resources.retrieve` | GET `/agent/v1/sessions/{session_id}/resources/{resource_id}` | `--session`, `--query-session-id` |
@@ -305,7 +305,12 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
305
305
  | `praxis organization cost list` | `organization.costs.list` | GET `/organization/v1/costs` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
306
306
  | `praxis organization event get <id>` | `organization.events.retrieve` | GET `/organization/v1/events/{id}` | |
307
307
  | `praxis organization event list` | `organization.events.list` | GET `/organization/v1/events` | `--starting-at`, `--ending-at`, `--param-limit`, `--page` |
308
- | `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--source` |
308
+ | `praxis organization feedback count list` | `organization.feedback.counts.list` | GET `/organization/v1/feedback/counts` | |
309
+ | `praxis organization feedback create` | `organization.feedback.create` | POST `/organization/v1/feedback` | `--message`, `--contact-email`, `--name`, `--url`, `--associated-event-id`, `--title`, `--type`, `--source` |
310
+ | `praxis organization feedback get <id>` | `organization.feedback.retrieve` | GET `/organization/v1/feedback/{id}` | |
311
+ | `praxis organization feedback list` | `organization.feedback.list` | GET `/organization/v1/feedback` | `--phase`, `--query`, `--param-limit`, `--page` |
312
+ | `praxis organization feedback message create` | `organization.feedback.messages.create` | POST `/organization/v1/feedback/{id}/messages` | `--feedback`, `--body` |
313
+ | `praxis organization feedback message list` | `organization.feedback.messages.list` | GET `/organization/v1/feedback/{id}/messages` | `--feedback`, `--param-limit`, `--page` |
309
314
  | `praxis organization usage list` | `organization.usage.list` | GET `/organization/v1/usage` | `--starting-at`, `--ending-at`, `--bucket-width`, `--time-zone`, `--group-by`, `--page` |
310
315
  | `praxis sandbox command run <sandbox_id>` | `sandbox.sandboxes.commands.run` | POST `/sandbox/v1/sandboxes/{sandbox_id}/commands` | `--cmd`, `--cwd`, `--timeout-ms` |
311
316
  | `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",
@@ -1492,6 +1492,25 @@ owning account only.`
1492
1492
  type: "string",
1493
1493
  required: false,
1494
1494
  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."
1495
+ },
1496
+ {
1497
+ name: "external_user_id",
1498
+ type: "string",
1499
+ required: false,
1500
+ 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."
1501
+ },
1502
+ {
1503
+ name: "source",
1504
+ type: "string",
1505
+ enum: [
1506
+ "kit",
1507
+ "iframe",
1508
+ "hosted",
1509
+ "api",
1510
+ "automation"
1511
+ ],
1512
+ required: false,
1513
+ description: "Filter by session origin: kit, iframe, hosted, api or automation. Keep this filter unchanged when following page."
1495
1514
  }
1496
1515
  ]
1497
1516
  },
@@ -1499,7 +1518,7 @@ owning account only.`
1499
1518
  resource: "agent.sessions",
1500
1519
  method: "create",
1501
1520
  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.`,
1521
+ 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
1522
  http: "POST",
1504
1523
  path: "/agent/v1/sessions",
1505
1524
  streaming: "no",
@@ -11666,6 +11685,43 @@ for more details.`
11666
11685
  ],
11667
11686
  query: []
11668
11687
  },
11688
+ {
11689
+ resource: "organization.feedback",
11690
+ method: "list",
11691
+ summary: "List your organization's feedback",
11692
+ 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.",
11693
+ http: "GET",
11694
+ path: "/organization/v1/feedback",
11695
+ streaming: "no",
11696
+ pagination: false,
11697
+ pathParams: [],
11698
+ query: [
11699
+ {
11700
+ name: "phase",
11701
+ type: "string",
11702
+ required: false,
11703
+ 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."
11704
+ },
11705
+ {
11706
+ name: "query",
11707
+ type: "string",
11708
+ required: false,
11709
+ description: "Case-insensitive text matched against titles and message bodies."
11710
+ },
11711
+ {
11712
+ name: "limit",
11713
+ type: "integer",
11714
+ required: false,
11715
+ description: "Items per page, 1 to 100."
11716
+ },
11717
+ {
11718
+ name: "page",
11719
+ type: "string",
11720
+ required: false,
11721
+ description: "Opaque cursor from next_page of the previous response."
11722
+ }
11723
+ ]
11724
+ },
11669
11725
  {
11670
11726
  resource: "organization.feedback",
11671
11727
  method: "create",
@@ -11710,6 +11766,18 @@ for more details.`
11710
11766
  required: false,
11711
11767
  description: "X-Request-Id from the failed response or the related error event ID."
11712
11768
  },
11769
+ {
11770
+ name: "title",
11771
+ type: "string",
11772
+ required: false,
11773
+ description: "Short summary shown in the feedback list; at most 200 Unicode code points."
11774
+ },
11775
+ {
11776
+ name: "type",
11777
+ type: "string",
11778
+ required: false,
11779
+ 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."
11780
+ },
11713
11781
  {
11714
11782
  name: "tags",
11715
11783
  type: "object",
@@ -11742,6 +11810,100 @@ for more details.`
11742
11810
  ]
11743
11811
  }
11744
11812
  },
11813
+ {
11814
+ resource: "organization.feedback.counts",
11815
+ method: "list",
11816
+ summary: "Count your organization's feedback by phase",
11817
+ description: "How many of your organization's feedback are in each phase, for status tabs. Counts never include another organization's feedback.",
11818
+ http: "GET",
11819
+ path: "/organization/v1/feedback/counts",
11820
+ streaming: "no",
11821
+ pagination: false,
11822
+ pathParams: [],
11823
+ query: []
11824
+ },
11825
+ {
11826
+ resource: "organization.feedback",
11827
+ method: "retrieve",
11828
+ summary: "Get one of your organization's feedback",
11829
+ 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.",
11830
+ http: "GET",
11831
+ path: "/organization/v1/feedback/{id}",
11832
+ streaming: "no",
11833
+ pagination: false,
11834
+ pathParams: [
11835
+ {
11836
+ name: "id",
11837
+ sdkName: "id"
11838
+ }
11839
+ ],
11840
+ query: []
11841
+ },
11842
+ {
11843
+ resource: "organization.feedback.messages",
11844
+ method: "list",
11845
+ summary: "List the messages of a feedback",
11846
+ 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.",
11847
+ http: "GET",
11848
+ path: "/organization/v1/feedback/{id}/messages",
11849
+ streaming: "no",
11850
+ pagination: false,
11851
+ pathParams: [
11852
+ {
11853
+ name: "id",
11854
+ sdkName: "id"
11855
+ }
11856
+ ],
11857
+ query: [
11858
+ {
11859
+ name: "limit",
11860
+ type: "integer",
11861
+ required: false,
11862
+ description: "Items per page, 1 to 100."
11863
+ },
11864
+ {
11865
+ name: "page",
11866
+ type: "string",
11867
+ required: false,
11868
+ description: "Opaque cursor from next_page of the previous response."
11869
+ }
11870
+ ]
11871
+ },
11872
+ {
11873
+ resource: "organization.feedback.messages",
11874
+ method: "create",
11875
+ summary: "Reply on a feedback",
11876
+ 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.",
11877
+ http: "POST",
11878
+ path: "/organization/v1/feedback/{id}/messages",
11879
+ streaming: "no",
11880
+ pagination: false,
11881
+ pathParams: [
11882
+ {
11883
+ name: "id",
11884
+ sdkName: "id"
11885
+ }
11886
+ ],
11887
+ query: [],
11888
+ body: {
11889
+ required: true,
11890
+ fields: [
11891
+ {
11892
+ name: "body",
11893
+ type: "string",
11894
+ required: true,
11895
+ description: "Markdown text; at most 4096 Unicode code points."
11896
+ },
11897
+ {
11898
+ name: "attachments",
11899
+ type: "array",
11900
+ itemType: "object",
11901
+ required: false,
11902
+ description: "Up to five attachments; decoded bytes must not exceed 10 MiB each or 20 MiB in total."
11903
+ }
11904
+ ]
11905
+ }
11906
+ },
11745
11907
  {
11746
11908
  resource: "organization.usage",
11747
11909
  method: "list",
@@ -16043,6 +16205,19 @@ var countResponseInputTokens = (options) => (options.client ?? client).post({
16043
16205
  ...options.headers
16044
16206
  }
16045
16207
  });
16208
+ var listOrganizationFeedback = (options) => (options?.client ?? client).get({
16209
+ security: [{
16210
+ key: "BearerAuth",
16211
+ scheme: "bearer",
16212
+ type: "http"
16213
+ }, {
16214
+ key: "ApiKeyAuth",
16215
+ name: "X-API-Key",
16216
+ type: "apiKey"
16217
+ }],
16218
+ url: "/organization/v1/feedback",
16219
+ ...options
16220
+ });
16046
16221
  var createOrganizationFeedback = (options) => (options.client ?? client).post({
16047
16222
  security: [{
16048
16223
  key: "BearerAuth",
@@ -16060,6 +16235,62 @@ var createOrganizationFeedback = (options) => (options.client ?? client).post({
16060
16235
  ...options.headers
16061
16236
  }
16062
16237
  });
16238
+ var getOrganizationFeedbackCounts = (options) => (options?.client ?? client).get({
16239
+ security: [{
16240
+ key: "BearerAuth",
16241
+ scheme: "bearer",
16242
+ type: "http"
16243
+ }, {
16244
+ key: "ApiKeyAuth",
16245
+ name: "X-API-Key",
16246
+ type: "apiKey"
16247
+ }],
16248
+ url: "/organization/v1/feedback/counts",
16249
+ ...options
16250
+ });
16251
+ var getOrganizationFeedback = (options) => (options.client ?? client).get({
16252
+ security: [{
16253
+ key: "BearerAuth",
16254
+ scheme: "bearer",
16255
+ type: "http"
16256
+ }, {
16257
+ key: "ApiKeyAuth",
16258
+ name: "X-API-Key",
16259
+ type: "apiKey"
16260
+ }],
16261
+ url: "/organization/v1/feedback/{id}",
16262
+ ...options
16263
+ });
16264
+ var listOrganizationFeedbackMessages = (options) => (options.client ?? client).get({
16265
+ security: [{
16266
+ key: "BearerAuth",
16267
+ scheme: "bearer",
16268
+ type: "http"
16269
+ }, {
16270
+ key: "ApiKeyAuth",
16271
+ name: "X-API-Key",
16272
+ type: "apiKey"
16273
+ }],
16274
+ url: "/organization/v1/feedback/{id}/messages",
16275
+ ...options
16276
+ });
16277
+ var createOrganizationFeedbackMessage = (options) => (options.client ?? client).post({
16278
+ security: [{
16279
+ key: "BearerAuth",
16280
+ scheme: "bearer",
16281
+ type: "http"
16282
+ }, {
16283
+ key: "ApiKeyAuth",
16284
+ name: "X-API-Key",
16285
+ type: "apiKey"
16286
+ }],
16287
+ url: "/organization/v1/feedback/{id}/messages",
16288
+ ...options,
16289
+ headers: {
16290
+ "Content-Type": "application/json",
16291
+ ...options.headers
16292
+ }
16293
+ });
16063
16294
  var listOrganizationCosts = (options) => (options.client ?? client).get({
16064
16295
  security: [{
16065
16296
  key: "BearerAuth",
@@ -20375,7 +20606,16 @@ function createOrganization(transport) {
20375
20606
  retrieve: bind(transport, getOrganizationEvent)
20376
20607
  },
20377
20608
  feedback: {
20378
- create: bind(transport, createOrganizationFeedback)
20609
+ counts: {
20610
+ list: bind(transport, getOrganizationFeedbackCounts)
20611
+ },
20612
+ create: bind(transport, createOrganizationFeedback),
20613
+ list: bind(transport, listOrganizationFeedback),
20614
+ messages: {
20615
+ create: bind(transport, createOrganizationFeedbackMessage),
20616
+ list: bind(transport, listOrganizationFeedbackMessages)
20617
+ },
20618
+ retrieve: bind(transport, getOrganizationFeedback)
20379
20619
  },
20380
20620
  usage: {
20381
20621
  list: bind(transport, listOrganizationUsage)
@@ -22565,7 +22805,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
22565
22805
  }
22566
22806
 
22567
22807
  // src/main.ts
22568
- var version = "0.1.0-dev.2f9240d";
22808
+ var version = "0.1.0-dev.449ac38";
22569
22809
  var commands = commandTree(operations);
22570
22810
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
22571
22811
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.0-dev.2f9240d",
3
+ "version": "0.1.0-dev.449ac38",
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
  }