@deepraxis/cli 0.1.0-dev.48c1ce8 → 0.1.0-dev.56788b6

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/praxis.js +14 -14
  2. package/package.json +1 -1
package/dist/praxis.js CHANGED
@@ -11,7 +11,7 @@ var operations = [
11
11
  resource: "agent.agents",
12
12
  method: "list",
13
13
  summary: "List agents",
14
- description: "List the agents of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Use it to find an agent id before creating a session; to read one agent use agents.retrieve, to see its history use agents.versions.list. Archived agents are hidden unless include_archived is true. Filter kind=personal for durable-computer agents or kind=business for per-session environments. Pass next_page from the response as page to read the next page; a null next_page means the end.",
14
+ description: "List the agents of the workspace behind your API key, newest first, in pages of at most 100 (default 20). Use it to find an agent id before creating a session; to read one agent use agents.retrieve, to see its history use agents.versions.list. Archived agents are hidden unless include_archived is true. Filter kind=personal for durable-computer agents or kind=service for per-session environments. Pass next_page from the response as page to read the next page; a null next_page means the end.",
15
15
  http: "GET",
16
16
  path: "/agent/v1/agents",
17
17
  streaming: "no",
@@ -57,7 +57,7 @@ var operations = [
57
57
  type: "string",
58
58
  enum: [
59
59
  "personal",
60
- "business"
60
+ "service"
61
61
  ],
62
62
  required: false,
63
63
  description: "Filter agents by their immutable kind, including agents created before kind was recorded."
@@ -141,10 +141,10 @@ across all toolsets allowed.`
141
141
  type: "string",
142
142
  enum: [
143
143
  "personal",
144
- "business"
144
+ "service"
145
145
  ],
146
146
  required: false,
147
- description: "Immutable agent kind. personal requires computer_id; business cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
147
+ description: "Immutable agent kind. personal requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
148
148
  },
149
149
  {
150
150
  name: "computer_id",
@@ -317,10 +317,10 @@ current version; omit to apply the update unconditionally.`
317
317
  type: "string",
318
318
  enum: [
319
319
  "personal",
320
- "business"
320
+ "service"
321
321
  ],
322
322
  required: false,
323
- description: "Immutable agent kind. personal requires computer_id; business cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
323
+ description: "Immutable agent kind. personal requires computer_id; service cannot bind a computer. Omit on create to infer from computer_id. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
324
324
  },
325
325
  {
326
326
  name: "computer_id",
@@ -395,7 +395,7 @@ current version; omit to apply the update unconditionally.`
395
395
  resource: "agent.agents.endUsers",
396
396
  method: "list",
397
397
  summary: "List End Users",
398
- description: `List users who have sessions or token issuance history on a business agent.
398
+ description: `List users who have sessions or token issuance history on a service agent.
399
399
 
400
400
  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.`,
401
401
  http: "GET",
@@ -433,7 +433,7 @@ Ordered by last_active_at and external_user_id descending. q is a case-sensitive
433
433
  resource: "agent.agents.endUsers",
434
434
  method: "delete",
435
435
  summary: "Delete end-user data",
436
- description: `Delete a host application's end-user data from one business agent after explicit confirmation.
436
+ description: `Delete a host application's end-user data from one service agent after explicit confirmation.
437
437
 
438
438
  Develop only. Set confirm to the exact external_user_id; missing or mismatched confirmation returns 400. Returns 202 with a pending task id, not completion. Poll the deletion endpoint. Concurrent requests reuse the unfinished task; retry DELETE after failure to resume it. Tokens are revoked and the user is blocked before a seven-day recovery snapshot is verified. Sessions including child sessions, conversation data, grants and feedback are then removed. A pre-existing block remains; a temporary block is removed on success. Attachment metadata is recorded and File attachments are retained. No charge is introduced by this operation. Example: DELETE /agent/v1/agents/agent_example/end_users/customer_123?confirm=customer_123.`,
439
439
  http: "DELETE",
@@ -1413,7 +1413,7 @@ Includes expired and revoked grants; returns neither token nor token_id. Sorts b
1413
1413
  name: "agent_id",
1414
1414
  type: "string",
1415
1415
  required: false,
1416
- description: "Filter by business agent identifier (agent_ or agt_ prefix)."
1416
+ description: "Filter by service agent identifier (agent_ or agt_ prefix)."
1417
1417
  },
1418
1418
  {
1419
1419
  name: "external_user_id",
@@ -1439,9 +1439,9 @@ Includes expired and revoked grants; returns neither token nor token_id. Sorts b
1439
1439
  resource: "agent.embedTokens",
1440
1440
  method: "create",
1441
1441
  summary: "Create Embed Token",
1442
- description: `Issue a short-lived credential on your backend for an end user of a business agent.
1442
+ description: `Issue a short-lived credential on your backend for an end user of a service agent.
1443
1443
 
1444
- Requires an active business agent in your organization with an embed policy. Pins the requested version or the latest version and snapshots the policy environment, vaults and resources; metadata comes from the request. Blocked users cannot receive tokens. Keep your API key on the backend and pass only the returned token to the frontend. Every call creates a new grant; issuance is not idempotent. Set hosted to true to also receive hosted_url; redirect the user there within 60 seconds. The agent must have an identity_number. The URL fragment contains a single-use exchange credential, not the token. Omit hosted or set false for ordinary token issuance.`,
1444
+ Requires an active service agent in your organization with an embed policy. Pins the requested version or the latest version and snapshots the policy environment, vaults and resources; metadata comes from the request. Blocked users cannot receive tokens. Keep your API key on the backend and pass only the returned token to the frontend. Every call creates a new grant; issuance is not idempotent. Set hosted to true to also receive hosted_url; redirect the user there within 60 seconds. The agent must have an identity_number. The URL fragment contains a single-use exchange credential, not the token. Omit hosted or set false for ordinary token issuance.`,
1445
1445
  http: "POST",
1446
1446
  path: "/agent/v1/embed_tokens",
1447
1447
  streaming: "no",
@@ -1461,7 +1461,7 @@ Requires an active business agent in your organization with an embed policy. Pin
1461
1461
  name: "agent",
1462
1462
  type: "string",
1463
1463
  required: true,
1464
- description: "Business agent ID or identity_number from agent retrieval; it must belong to your organization and be active."
1464
+ description: "Service agent ID or identity_number from agent retrieval; it must belong to your organization and be active."
1465
1465
  },
1466
1466
  {
1467
1467
  name: "version",
@@ -1536,7 +1536,7 @@ No Authorization header is required. Send the browser Origin allowed by the agen
1536
1536
  name: "publishable_key",
1537
1537
  type: "string",
1538
1538
  required: true,
1539
- description: "Public key created by the business agent owner; safe to include in browser code."
1539
+ description: "Public key created by the service agent owner; safe to include in browser code."
1540
1540
  },
1541
1541
  {
1542
1542
  name: "visitor_secret",
@@ -23475,7 +23475,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
23475
23475
  }
23476
23476
 
23477
23477
  // src/main.ts
23478
- var version = "0.1.0-dev.48c1ce8";
23478
+ var version = "0.1.0-dev.56788b6";
23479
23479
  var commands = commandTree(operations);
23480
23480
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
23481
23481
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.0-dev.48c1ce8",
3
+ "version": "0.1.0-dev.56788b6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"