@deepraxis/cli 0.1.1-dev.9beb33a → 0.1.1-dev.bdcd5e6

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
- 434 HTTP operations; 436 commands including aliases.
5
+ 421 HTTP operations; 423 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
 
@@ -53,19 +53,6 @@ Handwritten commands: `login`, `logout`, `whoami`, `org list`, `org switch <orga
53
53
  | `praxis agent deployment update <deployment_id>` | `agent.deployments.update` | POST `/agent/v1/deployments/{deployment_id}` | `--description`, `--environment-id`, `--name`, `--vault-ids` |
54
54
  | `praxis agent deployment-run get <deployment_run_id>` | `agent.deploymentRuns.retrieve` | GET `/agent/v1/deployment_runs/{deployment_run_id}` | |
55
55
  | `praxis agent deployment-run list` | `agent.deploymentRuns.list` | GET `/agent/v1/deployment_runs` | `--created-at-gt`, `--created-at-gte`, `--created-at-lt`, `--created-at-lte`, `--deployment-id`, `--has-error`, `--trigger-type`, `--param-limit`, `--page` |
56
- | `praxis agent embed exchange create` | `agent.embed.exchange.create` | POST `/agent/v1/embed/exchange` | `--code` |
57
- | `praxis agent embed get-appearance` | `agent.embed.retrieveAppearance` | GET `/agent/v1/embed/appearance` | |
58
- | `praxis agent embed-token anonymous create` | `agent.embedTokens.anonymous.create` | POST `/agent/v1/embed_tokens/anonymous` | `--publishable-key`, `--visitor-secret` |
59
- | `praxis agent embed-token create` | `agent.embedTokens.create` | POST `/agent/v1/embed_tokens` | `--hosted`, `--agent`, `--param-version`, `--external-user-id`, `--ttl-seconds`, `--budget-cents`, `--allowed-origins` |
60
- | `praxis agent embed-token list` | `agent.embedTokens.list` | GET `/agent/v1/embed_tokens` | `--agent-id`, `--external-user-id`, `--param-limit`, `--page` |
61
- | `praxis agent embed-token revoke create` | `agent.embedTokens.revoke.create` | POST `/agent/v1/embed_tokens/{id}/revoke` | `--embed-token` |
62
- | `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` |
63
- | `praxis agent end-user delete <external_user_id>` | `agent.agents.endUsers.delete` | DELETE `/agent/v1/agents/{agent_id}/end_users/{external_user_id}` | `--agent`, `--confirm` |
64
- | `praxis agent end-user get <external_user_id>` | `agent.agents.endUsers.retrieve` | GET `/agent/v1/agents/{agent_id}/end_users/{external_user_id}` | `--agent` |
65
- | `praxis agent end-user get-deletion <external_user_id>` | `agent.agents.endUsers.retrieveDeletion` | GET `/agent/v1/agents/{agent_id}/end_users/{external_user_id}/deletion` | `--agent` |
66
- | `praxis agent end-user list` | `agent.agents.endUsers.list` | GET `/agent/v1/agents/{agent_id}/end_users` | `--agent`, `--param-limit`, `--page`, `--q` |
67
- | `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` |
68
- | `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` |
69
56
  | `praxis agent environment archive <environment_id>` | `agent.environments.archive` | POST `/agent/v1/environments/{environment_id}/archive` | |
70
57
  | `praxis agent environment create` | `agent.environments.create` | POST `/agent/v1/environments` | `--name`, `--description` |
71
58
  | `praxis agent environment get <environment_id>` | `agent.environments.retrieve` | GET `/agent/v1/environments/{environment_id}` | |
package/dist/praxis.js CHANGED
@@ -857,202 +857,6 @@ Idempotent. Access tokens revoked while the customer was blocked stay revoked; s
857
857
  ],
858
858
  query: []
859
859
  },
860
- {
861
- resource: "agent.agents.endUsers",
862
- method: "list",
863
- summary: "List End Users",
864
- description: `List users who have sessions or token issuance history on a service agent.
865
-
866
- 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.`,
867
- http: "GET",
868
- path: "/agent/v1/agents/{agent_id}/end_users",
869
- streaming: "no",
870
- pagination: false,
871
- pathParams: [
872
- {
873
- name: "agent_id",
874
- sdkName: "agent_id",
875
- description: "Active service agent identifier from agent creation or listing."
876
- }
877
- ],
878
- query: [
879
- {
880
- name: "limit",
881
- type: "integer",
882
- required: false,
883
- description: "Maximum users per page; defaults to 20."
884
- },
885
- {
886
- name: "page",
887
- type: "string",
888
- required: false,
889
- description: "next_page from the previous response with the same agent, q and limit."
890
- },
891
- {
892
- name: "q",
893
- type: "string",
894
- required: false,
895
- description: "Case-sensitive literal prefix of external_user_id; omit or use an empty string for all users."
896
- }
897
- ]
898
- },
899
- {
900
- resource: "agent.agents.endUsers",
901
- method: "delete",
902
- summary: "Delete end-user data",
903
- description: `Delete a host application's end-user data from one service agent after explicit confirmation.
904
-
905
- 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.`,
906
- http: "DELETE",
907
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
908
- streaming: "no",
909
- pagination: false,
910
- pathParams: [
911
- {
912
- name: "agent_id",
913
- sdkName: "agent_id",
914
- description: "Active service agent identifier from agent creation or listing."
915
- },
916
- {
917
- name: "external_user_id",
918
- sdkName: "external_user_id",
919
- description: "Host user identifier supplied at issuance or from end-user listing."
920
- }
921
- ],
922
- query: [
923
- {
924
- name: "confirm",
925
- type: "string",
926
- required: true,
927
- description: "Must exactly equal the external_user_id path parameter to confirm destructive deletion."
928
- }
929
- ]
930
- },
931
- {
932
- resource: "agent.agents.endUsers",
933
- method: "retrieve",
934
- summary: "Get End User",
935
- description: `Inspect one end user and their twenty most recently updated sessions.
936
-
937
- 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.`,
938
- http: "GET",
939
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
940
- streaming: "no",
941
- pagination: false,
942
- pathParams: [
943
- {
944
- name: "agent_id",
945
- sdkName: "agent_id",
946
- description: "Active service agent identifier from agent creation or listing."
947
- },
948
- {
949
- name: "external_user_id",
950
- sdkName: "external_user_id",
951
- description: "Host user identifier supplied at issuance or from end-user listing."
952
- }
953
- ],
954
- query: []
955
- },
956
- {
957
- resource: "agent.agents.endUsers.block",
958
- method: "create",
959
- summary: "Block End User",
960
- description: `Block token issuance and session creation, then revoke existing tokens for an end user.
961
-
962
- 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.`,
963
- http: "POST",
964
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block",
965
- streaming: "no",
966
- pagination: false,
967
- pathParams: [
968
- {
969
- name: "agent_id",
970
- sdkName: "agent_id",
971
- description: "Active service agent identifier from agent creation or listing."
972
- },
973
- {
974
- name: "external_user_id",
975
- sdkName: "external_user_id",
976
- description: "Host user identifier supplied at issuance or from end-user listing."
977
- }
978
- ],
979
- query: []
980
- },
981
- {
982
- resource: "agent.agents.endUsers",
983
- method: "retrieveDeletion",
984
- summary: "Get end-user deletion",
985
- description: `Poll the latest deletion task for an end user, including after the user data has been removed.
986
-
987
- Use the same agent_id and external_user_id as the confirmed DELETE. Status is pending, snapshotting, deleting, done or failed. Counts are empty until a verified snapshot exists. A failed task remains blocked and resumes when DELETE is retried with matching confirmation. snapshot_key is an operator recovery reference retained for seven days, not a public download URL. End-user credentials, inaccessible or personal agents, and missing tasks return 404. This read does not create a task or charge usage.`,
988
- http: "GET",
989
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/deletion",
990
- streaming: "no",
991
- pagination: false,
992
- pathParams: [
993
- {
994
- name: "agent_id",
995
- sdkName: "agent_id",
996
- description: "Active service agent identifier from agent creation or listing."
997
- },
998
- {
999
- name: "external_user_id",
1000
- sdkName: "external_user_id",
1001
- description: "Host user identifier supplied at issuance or from end-user listing."
1002
- }
1003
- ],
1004
- query: []
1005
- },
1006
- {
1007
- resource: "agent.agents.endUsers.revokeTokens",
1008
- method: "create",
1009
- summary: "Revoke End User Tokens",
1010
- description: `Revoke all issued tokens for an end user and terminate their open embed streams.
1011
-
1012
- 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.`,
1013
- http: "POST",
1014
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens",
1015
- streaming: "no",
1016
- pagination: false,
1017
- pathParams: [
1018
- {
1019
- name: "agent_id",
1020
- sdkName: "agent_id",
1021
- description: "Active service agent identifier from agent creation or listing."
1022
- },
1023
- {
1024
- name: "external_user_id",
1025
- sdkName: "external_user_id",
1026
- description: "Host user identifier supplied at issuance or from end-user listing."
1027
- }
1028
- ],
1029
- query: []
1030
- },
1031
- {
1032
- resource: "agent.agents.endUsers.unblock",
1033
- method: "create",
1034
- summary: "Unblock End User",
1035
- description: `Allow an end user to receive new tokens and create new sessions again.
1036
-
1037
- 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.`,
1038
- http: "POST",
1039
- path: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock",
1040
- streaming: "no",
1041
- pagination: false,
1042
- pathParams: [
1043
- {
1044
- name: "agent_id",
1045
- sdkName: "agent_id",
1046
- description: "Active service agent identifier from agent creation or listing."
1047
- },
1048
- {
1049
- name: "external_user_id",
1050
- sdkName: "external_user_id",
1051
- description: "Host user identifier supplied at issuance or from end-user listing."
1052
- }
1053
- ],
1054
- query: []
1055
- },
1056
860
  {
1057
861
  resource: "agent.agents.unarchive",
1058
862
  method: "create",
@@ -1883,214 +1687,6 @@ null to clear. Maximum 50.`
1883
1687
  ],
1884
1688
  query: []
1885
1689
  },
1886
- {
1887
- resource: "agent.embed",
1888
- method: "retrieveAppearance",
1889
- summary: "Read chat appearance",
1890
- description: "Load saved appearance for an iframe or Hosted chat page. Supply an end-user embed token as Bearer authorization, or a console-issued publishable key in Praxis-Publishable-Key before anonymous token issuance. The credential selects the agent; identity_number and agent_id query parameters are rejected with 400. Missing appearance returns an empty object. Kit option names retain camelCase. Responses are private and cacheable for 60 seconds. Component hosts configure Kit in their own code instead.",
1891
- http: "GET",
1892
- path: "/agent/v1/embed/appearance",
1893
- streaming: "no",
1894
- pagination: false,
1895
- pathParams: [],
1896
- query: []
1897
- },
1898
- {
1899
- resource: "agent.embed.exchange",
1900
- method: "create",
1901
- summary: "Exchange Hosted Code",
1902
- description: `Redeem a single-use hosted link credential for an end-user token.
1903
-
1904
- Read code from the c fragment parameter of hosted_url returned by embed token creation with hosted true, then remove the fragment before exchanging. No Authorization header is required; the code authenticates this request. The code expires after 60 seconds and is consumed atomically on exchange, so concurrent attempts have only one winner. Expired, used and unknown codes return the same 404 body. Keep the token in memory and return to the host website for a fresh link when it expires; exchange cannot refresh it. Requests are IP limited per minute using the anonymous entrypoint budget (default 20). Example body is {"code":"<code from hosted_url>"}.`,
1905
- http: "POST",
1906
- path: "/agent/v1/embed/exchange",
1907
- streaming: "no",
1908
- pagination: false,
1909
- pathParams: [],
1910
- query: [],
1911
- body: {
1912
- required: true,
1913
- fields: [
1914
- {
1915
- name: "code",
1916
- type: "string",
1917
- required: true,
1918
- description: "Single-use credential from the c fragment parameter of hosted_url returned by embed token creation. Valid for 60 seconds."
1919
- }
1920
- ]
1921
- }
1922
- },
1923
- {
1924
- resource: "agent.embedTokens",
1925
- method: "list",
1926
- summary: "List Embed Tokens",
1927
- description: `List embed token issuance records in your organization.
1928
-
1929
- Includes expired and revoked grants; returns neither token nor token_id. Sorts by created_at, then grant id, both descending. agent_id accepts agent_ or agt_; external_user_id matches exactly. limit is 1–100 (default 20). Reuse next_page as page with the same filters and organization; a mismatch returns 400. End-user credentials return 404.`,
1930
- http: "GET",
1931
- path: "/agent/v1/embed_tokens",
1932
- streaming: "no",
1933
- pagination: false,
1934
- pathParams: [],
1935
- query: [
1936
- {
1937
- name: "agent_id",
1938
- type: "string",
1939
- required: false,
1940
- description: "Filter by service agent identifier (agent_ or agt_ prefix)."
1941
- },
1942
- {
1943
- name: "external_user_id",
1944
- type: "string",
1945
- required: false,
1946
- description: "Exact host user identifier supplied at issuance."
1947
- },
1948
- {
1949
- name: "limit",
1950
- type: "integer",
1951
- required: false,
1952
- description: "Maximum records per page; defaults to 20."
1953
- },
1954
- {
1955
- name: "page",
1956
- type: "string",
1957
- required: false,
1958
- description: "next_page from a previous response with the same filters."
1959
- }
1960
- ]
1961
- },
1962
- {
1963
- resource: "agent.embedTokens",
1964
- method: "create",
1965
- summary: "Create Embed Token",
1966
- description: `Issue a short-lived credential on your backend for an end user of a service agent.
1967
-
1968
- 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.`,
1969
- http: "POST",
1970
- path: "/agent/v1/embed_tokens",
1971
- streaming: "no",
1972
- pagination: false,
1973
- pathParams: [],
1974
- query: [],
1975
- body: {
1976
- required: true,
1977
- fields: [
1978
- {
1979
- name: "hosted",
1980
- type: "boolean",
1981
- required: false,
1982
- description: "Set true to also return a hosted chat URL with a single-use credential valid for 60 seconds. Defaults to false; the agent must have an identity_number."
1983
- },
1984
- {
1985
- name: "agent",
1986
- type: "string",
1987
- required: true,
1988
- description: "Service agent ID or identity_number from agent retrieval; it must belong to your organization and be active."
1989
- },
1990
- {
1991
- name: "version",
1992
- type: "integer",
1993
- required: false,
1994
- description: "Existing agent version to pin. Omit to pin the latest version at issuance."
1995
- },
1996
- {
1997
- name: "external_user_id",
1998
- type: "string",
1999
- required: true,
2000
- description: "Your application's stable end-user identifier, scoped to this organization and agent."
2001
- },
2002
- {
2003
- name: "ttl_seconds",
2004
- type: "integer",
2005
- required: false,
2006
- description: "Token lifetime in seconds. Defaults to the embed policy TTL and cannot exceed its maximum or 3600 seconds."
2007
- },
2008
- {
2009
- name: "budget_cents",
2010
- type: "integer",
2011
- required: false,
2012
- description: "Session budget in cents. Defaults to the embed policy session budget and cannot exceed its maximum."
2013
- },
2014
- {
2015
- name: "system_message",
2016
- type: "array",
2017
- itemType: "object",
2018
- required: false,
2019
- description: "Optional host context as text blocks, limited to 8192 UTF-8 bytes in total."
2020
- },
2021
- {
2022
- name: "agent_override",
2023
- type: "object",
2024
- required: false,
2025
- description: "Optional system prompt override, accepted only when the embed policy allows agent overrides."
2026
- },
2027
- {
2028
- name: "allowed_origins",
2029
- type: "array",
2030
- itemType: "string",
2031
- required: false,
2032
- description: "Optional subset of the policy origin entries, compared exactly. Omit to snapshot every policy origin."
2033
- },
2034
- {
2035
- name: "metadata",
2036
- type: "object",
2037
- required: false,
2038
- description: "Host metadata preserved verbatim; at most 16 keys of 1–64 characters and string values of at most 512 characters. Defaults to an empty object."
2039
- }
2040
- ]
2041
- }
2042
- },
2043
- {
2044
- resource: "agent.embedTokens.anonymous",
2045
- method: "create",
2046
- summary: "Issue anonymous visitor token",
2047
- description: `Obtain a short-lived embedding token for a visitor without an account using the agent owner's publishable key.
2048
-
2049
- No Authorization header is required. Send the browser Origin allowed by the agent policy. Save a returned visitor_secret and reuse it for refreshes; only new visitors receive one. Unknown secrets create new visitors, and extra fields including visitor_id return 400. Issuance uses the key creator's organization membership, the key session budget and the smaller of the policy TTL maximum and 3600 seconds. IP requests are limited per minute (default 20); UTC daily session and spending caps are checked across the key's primary sessions created that day. Token issuance itself does not create a session or charge usage; subsequent sessions bill the host organization. Example body: {"publishable_key":"pk_praxis_example"}.`,
2050
- http: "POST",
2051
- path: "/agent/v1/embed_tokens/anonymous",
2052
- streaming: "no",
2053
- pagination: false,
2054
- pathParams: [],
2055
- query: [],
2056
- body: {
2057
- required: true,
2058
- fields: [
2059
- {
2060
- name: "publishable_key",
2061
- type: "string",
2062
- required: true,
2063
- description: "Public key created by the service agent owner; safe to include in browser code."
2064
- },
2065
- {
2066
- name: "visitor_secret",
2067
- type: "string",
2068
- required: false,
2069
- description: "Secret returned by a previous anonymous issuance for this key. Omit for a new visitor; an unknown secret creates a new visitor."
2070
- }
2071
- ]
2072
- }
2073
- },
2074
- {
2075
- resource: "agent.embedTokens.revoke",
2076
- method: "create",
2077
- summary: "Revoke Embed Token",
2078
- description: `Revoke an embed token and close its open event streams.
2079
-
2080
- Use an id from issuance or listing. Revokes the credential before setting revoked_at; upstream failure leaves it unset. Streams receive session.error (EMBED_TOKEN_REVOKED), then close immediately; other credentials are unaffected. Idempotent; repeats return the original revoked record without another revocation or audit. Missing or foreign grants and end-user credentials return 404.`,
2081
- http: "POST",
2082
- path: "/agent/v1/embed_tokens/{id}/revoke",
2083
- streaming: "no",
2084
- pagination: false,
2085
- pathParams: [
2086
- {
2087
- name: "id",
2088
- sdkName: "id",
2089
- description: "Grant id returned by issuance or listing."
2090
- }
2091
- ],
2092
- query: []
2093
- },
2094
1690
  {
2095
1691
  resource: "agent.environments",
2096
1692
  method: "list",
@@ -18551,97 +18147,6 @@ var setRunFeedback = (options) => (options.client ?? client).post({
18551
18147
  ...options.headers
18552
18148
  }
18553
18149
  });
18554
- var listEndUsers = (options) => (options.client ?? client).get({
18555
- security: [{
18556
- key: "BearerAuth",
18557
- scheme: "bearer",
18558
- type: "http"
18559
- }, {
18560
- key: "ApiKeyAuth",
18561
- name: "X-API-Key",
18562
- type: "apiKey"
18563
- }],
18564
- url: "/agent/v1/agents/{agent_id}/end_users",
18565
- ...options
18566
- });
18567
- var deleteEndUser = (options) => (options.client ?? client).delete({
18568
- security: [{
18569
- key: "BearerAuth",
18570
- scheme: "bearer",
18571
- type: "http"
18572
- }, {
18573
- key: "ApiKeyAuth",
18574
- name: "X-API-Key",
18575
- type: "apiKey"
18576
- }],
18577
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
18578
- ...options
18579
- });
18580
- var getEndUser = (options) => (options.client ?? client).get({
18581
- security: [{
18582
- key: "BearerAuth",
18583
- scheme: "bearer",
18584
- type: "http"
18585
- }, {
18586
- key: "ApiKeyAuth",
18587
- name: "X-API-Key",
18588
- type: "apiKey"
18589
- }],
18590
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}",
18591
- ...options
18592
- });
18593
- var getEndUserDeletion = (options) => (options.client ?? client).get({
18594
- security: [{
18595
- key: "BearerAuth",
18596
- scheme: "bearer",
18597
- type: "http"
18598
- }, {
18599
- key: "ApiKeyAuth",
18600
- name: "X-API-Key",
18601
- type: "apiKey"
18602
- }],
18603
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/deletion",
18604
- ...options
18605
- });
18606
- var revokeEndUserTokens = (options) => (options.client ?? client).post({
18607
- security: [{
18608
- key: "BearerAuth",
18609
- scheme: "bearer",
18610
- type: "http"
18611
- }, {
18612
- key: "ApiKeyAuth",
18613
- name: "X-API-Key",
18614
- type: "apiKey"
18615
- }],
18616
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/revoke_tokens",
18617
- ...options
18618
- });
18619
- var blockEndUser = (options) => (options.client ?? client).post({
18620
- security: [{
18621
- key: "BearerAuth",
18622
- scheme: "bearer",
18623
- type: "http"
18624
- }, {
18625
- key: "ApiKeyAuth",
18626
- name: "X-API-Key",
18627
- type: "apiKey"
18628
- }],
18629
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/block",
18630
- ...options
18631
- });
18632
- var unblockEndUser = (options) => (options.client ?? client).post({
18633
- security: [{
18634
- key: "BearerAuth",
18635
- scheme: "bearer",
18636
- type: "http"
18637
- }, {
18638
- key: "ApiKeyAuth",
18639
- name: "X-API-Key",
18640
- type: "apiKey"
18641
- }],
18642
- url: "/agent/v1/agents/{agent_id}/end_users/{external_user_id}/unblock",
18643
- ...options
18644
- });
18645
18150
  var listCustomers = (options) => (options.client ?? client).get({
18646
18151
  security: [{
18647
18152
  key: "BearerAuth",
@@ -18797,65 +18302,6 @@ var deleteCurrentCustomerAccessToken = (options) => (options.client ?? client).d
18797
18302
  url: "/agent/v1/agents/{agent_id}/customers/auth/access_tokens/current",
18798
18303
  ...options
18799
18304
  });
18800
- var exchangeEmbedCode = (options) => (options.client ?? client).post({
18801
- url: "/agent/v1/embed/exchange",
18802
- ...options,
18803
- headers: {
18804
- "Content-Type": "application/json",
18805
- ...options.headers
18806
- }
18807
- });
18808
- var createAnonymousEmbedToken = (options) => (options.client ?? client).post({
18809
- url: "/agent/v1/embed_tokens/anonymous",
18810
- ...options,
18811
- headers: {
18812
- "Content-Type": "application/json",
18813
- ...options.headers
18814
- }
18815
- });
18816
- var listEmbedTokens = (options) => (options?.client ?? client).get({
18817
- security: [{
18818
- key: "BearerAuth",
18819
- scheme: "bearer",
18820
- type: "http"
18821
- }, {
18822
- key: "ApiKeyAuth",
18823
- name: "X-API-Key",
18824
- type: "apiKey"
18825
- }],
18826
- url: "/agent/v1/embed_tokens",
18827
- ...options
18828
- });
18829
- var createEmbedToken = (options) => (options.client ?? client).post({
18830
- security: [{
18831
- key: "BearerAuth",
18832
- scheme: "bearer",
18833
- type: "http"
18834
- }, {
18835
- key: "ApiKeyAuth",
18836
- name: "X-API-Key",
18837
- type: "apiKey"
18838
- }],
18839
- url: "/agent/v1/embed_tokens",
18840
- ...options,
18841
- headers: {
18842
- "Content-Type": "application/json",
18843
- ...options.headers
18844
- }
18845
- });
18846
- var revokeEmbedToken = (options) => (options.client ?? client).post({
18847
- security: [{
18848
- key: "BearerAuth",
18849
- scheme: "bearer",
18850
- type: "http"
18851
- }, {
18852
- key: "ApiKeyAuth",
18853
- name: "X-API-Key",
18854
- type: "apiKey"
18855
- }],
18856
- url: "/agent/v1/embed_tokens/{id}/revoke",
18857
- ...options
18858
- });
18859
18305
  var computersList = (options) => (options?.client ?? client).get({
18860
18306
  security: [{
18861
18307
  key: "BearerAuth",
@@ -19154,15 +18600,6 @@ var listSessionCompactions = (options) => (options.client ?? client).get({
19154
18600
  url: "/agent/v1/sessions/{session_id}/compactions",
19155
18601
  ...options
19156
18602
  });
19157
- var getEmbedAppearance = (options) => (options?.client ?? client).get({
19158
- security: [{
19159
- key: "BearerAuth",
19160
- scheme: "bearer",
19161
- type: "http"
19162
- }, { name: "Praxis-Publishable-Key", type: "apiKey" }],
19163
- url: "/agent/v1/embed/appearance",
19164
- ...options
19165
- });
19166
18603
  var createAudioSpeech = (options) => (options.client ?? client).post({
19167
18604
  security: [{
19168
18605
  key: "BearerAuth",
@@ -24540,21 +23977,6 @@ function createAgent(transport) {
24540
23977
  create: bind(transport, unblockCustomer)
24541
23978
  }
24542
23979
  },
24543
- endUsers: {
24544
- block: {
24545
- create: bind(transport, blockEndUser)
24546
- },
24547
- delete: bind(transport, deleteEndUser),
24548
- list: bind(transport, listEndUsers),
24549
- retrieve: bind(transport, getEndUser),
24550
- retrieveDeletion: bind(transport, getEndUserDeletion),
24551
- revokeTokens: {
24552
- create: bind(transport, revokeEndUserTokens)
24553
- },
24554
- unblock: {
24555
- create: bind(transport, unblockEndUser)
24556
- }
24557
- },
24558
23980
  list: bind(transport, agentsList),
24559
23981
  retrieve: bind(transport, agentsRetrieve),
24560
23982
  retrieveAppearance: bind(transport, getAgentAppearance),
@@ -24607,22 +24029,6 @@ function createAgent(transport) {
24607
24029
  },
24608
24030
  update: bind(transport, deploymentsUpdate)
24609
24031
  },
24610
- embed: {
24611
- exchange: {
24612
- create: bind(transport, exchangeEmbedCode)
24613
- },
24614
- retrieveAppearance: bind(transport, getEmbedAppearance)
24615
- },
24616
- embedTokens: {
24617
- anonymous: {
24618
- create: bind(transport, createAnonymousEmbedToken)
24619
- },
24620
- create: bind(transport, createEmbedToken),
24621
- list: bind(transport, listEmbedTokens),
24622
- revoke: {
24623
- create: bind(transport, revokeEmbedToken)
24624
- }
24625
- },
24626
24032
  environments: {
24627
24033
  archive: bind(transport, environmentsArchive),
24628
24034
  create: bind(transport, environmentsCreate),
@@ -27391,7 +26797,7 @@ function startProgress(ctx, write = (text) => writeOutput({ stderr: text })) {
27391
26797
  }
27392
26798
 
27393
26799
  // src/main.ts
27394
- var version = "0.1.1-dev.9beb33a";
26800
+ var version = "0.1.1-dev.bdcd5e6";
27395
26801
  var commands = commandTree(operations);
27396
26802
  var manual = [["login"], ["logout"], ["whoami"], ["org", "list"], ["org", "switch"], ["api"], ["skill"]];
27397
26803
  function route(argv) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/cli",
3
- "version": "0.1.1-dev.9beb33a",
3
+ "version": "0.1.1-dev.bdcd5e6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "praxis": "dist/praxis.js"