@archastro/sdk 0.6.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/app-session.d.ts +66 -0
- package/dist/app-session.d.ts.map +1 -0
- package/dist/app-session.js +158 -0
- package/dist/app-session.js.map +1 -0
- package/dist/auth.d.ts +5 -3
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +7 -5
- package/dist/auth.js.map +1 -1
- package/dist/channels/api_activity_feed_channel.js +2 -2
- package/dist/channels/api_activity_feed_channel.js.map +1 -1
- package/dist/channels/api_chat_channel.js +2 -2
- package/dist/channels/api_chat_channel.js.map +1 -1
- package/dist/channels/api_object_channel.d.ts +13 -2
- package/dist/channels/api_object_channel.d.ts.map +1 -1
- package/dist/channels/api_object_channel.js +21 -6
- package/dist/channels/api_object_channel.js.map +1 -1
- package/dist/channels/api_tasks_channel.d.ts +30 -0
- package/dist/channels/api_tasks_channel.d.ts.map +1 -0
- package/dist/channels/api_tasks_channel.js +45 -0
- package/dist/channels/api_tasks_channel.js.map +1 -0
- package/dist/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +17 -2
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.native.d.ts +14 -0
- package/dist/index.native.d.ts.map +1 -0
- package/dist/index.native.js +14 -0
- package/dist/index.native.js.map +1 -0
- package/dist/passwordless.d.ts +49 -0
- package/dist/passwordless.d.ts.map +1 -0
- package/dist/passwordless.js +70 -0
- package/dist/passwordless.js.map +1 -0
- package/dist/phx_channel/socket.d.ts.map +1 -1
- package/dist/phx_channel/socket.js +10 -22
- package/dist/phx_channel/socket.js.map +1 -1
- package/dist/phx_channel/websocket.d.ts +19 -0
- package/dist/phx_channel/websocket.d.ts.map +1 -0
- package/dist/phx_channel/websocket.js +28 -0
- package/dist/phx_channel/websocket.js.map +1 -0
- package/dist/phx_channel/websocket.native.d.ts +17 -0
- package/dist/phx_channel/websocket.native.d.ts.map +1 -0
- package/dist/phx_channel/websocket.native.js +16 -0
- package/dist/phx_channel/websocket.native.js.map +1 -0
- package/dist/platform-socket.d.ts +20 -0
- package/dist/platform-socket.d.ts.map +1 -0
- package/dist/platform-socket.js +25 -0
- package/dist/platform-socket.js.map +1 -0
- package/dist/runtime/http-client.d.ts.map +1 -1
- package/dist/runtime/http-client.js +7 -4
- package/dist/runtime/http-client.js.map +1 -1
- package/dist/runtime/url.d.ts +15 -0
- package/dist/runtime/url.d.ts.map +1 -0
- package/dist/runtime/url.js +34 -0
- package/dist/runtime/url.js.map +1 -0
- package/dist/types/ai.d.ts +66 -52
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +7 -2
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +8 -8
- package/dist/types/artifacts.js +2 -2
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +68 -10
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +22 -2
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +18446 -3559
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +2 -2
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +12646 -2316
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +372 -80
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +22 -10
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/config.js +4 -2
- package/dist/types/config.js.map +1 -1
- package/dist/types/device.d.ts +60 -0
- package/dist/types/device.d.ts.map +1 -0
- package/dist/types/device.js +25 -0
- package/dist/types/device.js.map +1 -0
- package/dist/types/extractions.d.ts +452 -0
- package/dist/types/extractions.d.ts.map +1 -0
- package/dist/types/extractions.js +52 -0
- package/dist/types/extractions.js.map +1 -0
- package/dist/types/image.js +2 -2
- package/dist/types/image.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +5 -2
- package/dist/types/index.js.map +1 -1
- package/dist/types/invites.js +2 -2
- package/dist/types/invites.js.map +1 -1
- package/dist/types/notifications.d.ts +2 -2
- package/dist/types/notifications.js +2 -2
- package/dist/types/notifications.js.map +1 -1
- package/dist/types/oauth.d.ts +117 -0
- package/dist/types/oauth.d.ts.map +1 -0
- package/dist/types/oauth.js +21 -0
- package/dist/types/oauth.js.map +1 -0
- package/dist/types/teams.d.ts +2402 -242
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +2 -2
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +1419 -328
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +18 -17
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +2 -2
- package/dist/types/users.js +2 -2
- package/dist/types/users.js.map +1 -1
- package/dist/v1/resources/activity_feed.d.ts +84 -0
- package/dist/v1/resources/activity_feed.d.ts.map +1 -1
- package/dist/v1/resources/activity_feed.js +2 -2
- package/dist/v1/resources/activity_feed.js.map +1 -1
- package/dist/v1/resources/agent_computers.js +2 -2
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_env_vars.js +2 -2
- package/dist/v1/resources/agent_env_vars.js.map +1 -1
- package/dist/v1/resources/agent_health_actions.js +2 -2
- package/dist/v1/resources/agent_health_actions.js.map +1 -1
- package/dist/v1/resources/agent_installations.d.ts +2 -2
- package/dist/v1/resources/agent_installations.d.ts.map +1 -1
- package/dist/v1/resources/agent_installations.js +3 -3
- package/dist/v1/resources/agent_installations.js.map +1 -1
- package/dist/v1/resources/agent_routine_runs.d.ts +16 -1
- package/dist/v1/resources/agent_routine_runs.d.ts.map +1 -1
- package/dist/v1/resources/agent_routine_runs.js +16 -2
- package/dist/v1/resources/agent_routine_runs.js.map +1 -1
- package/dist/v1/resources/agent_routines.d.ts +47 -3
- package/dist/v1/resources/agent_routines.d.ts.map +1 -1
- package/dist/v1/resources/agent_routines.js +42 -3
- package/dist/v1/resources/agent_routines.js.map +1 -1
- package/dist/v1/resources/agent_sessions.d.ts +14 -2
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +14 -3
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agent_skills.js +2 -2
- package/dist/v1/resources/agent_skills.js.map +1 -1
- package/dist/v1/resources/agent_tools.d.ts +2 -2
- package/dist/v1/resources/agent_tools.d.ts.map +1 -1
- package/dist/v1/resources/agent_tools.js +3 -3
- package/dist/v1/resources/agent_tools.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +152 -35
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +148 -42
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +81 -40
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +52 -17
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.js +2 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/automation_runs.d.ts +41 -6
- package/dist/v1/resources/automation_runs.d.ts.map +1 -1
- package/dist/v1/resources/automation_runs.js +47 -8
- package/dist/v1/resources/automation_runs.js.map +1 -1
- package/dist/v1/resources/automations.d.ts +14 -1
- package/dist/v1/resources/automations.d.ts.map +1 -1
- package/dist/v1/resources/automations.js +15 -3
- package/dist/v1/resources/automations.js.map +1 -1
- package/dist/v1/resources/bug_reports.js +2 -2
- package/dist/v1/resources/bug_reports.js.map +1 -1
- package/dist/v1/resources/config.d.ts +3 -0
- package/dist/v1/resources/config.d.ts.map +1 -1
- package/dist/v1/resources/config.js +2 -2
- package/dist/v1/resources/config.js.map +1 -1
- package/dist/v1/resources/custom_objects.js +2 -2
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/extractions.d.ts +50 -0
- package/dist/v1/resources/extractions.d.ts.map +1 -0
- package/dist/v1/resources/extractions.js +48 -0
- package/dist/v1/resources/extractions.js.map +1 -0
- package/dist/v1/resources/files.d.ts +88 -1
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +86 -3
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +5 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +7 -2
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/installation_sources.js +2 -2
- package/dist/v1/resources/installation_sources.js.map +1 -1
- package/dist/v1/resources/invites.js +2 -2
- package/dist/v1/resources/invites.js.map +1 -1
- package/dist/v1/resources/knowledge_documents.d.ts +33 -1
- package/dist/v1/resources/knowledge_documents.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_documents.js +25 -2
- package/dist/v1/resources/knowledge_documents.js.map +1 -1
- package/dist/v1/resources/knowledge_ingestions.d.ts +16 -0
- package/dist/v1/resources/knowledge_ingestions.d.ts.map +1 -0
- package/dist/v1/resources/knowledge_ingestions.js +21 -0
- package/dist/v1/resources/knowledge_ingestions.js.map +1 -0
- package/dist/v1/resources/knowledge_sources.d.ts +2 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +3 -2
- package/dist/v1/resources/knowledge_sources.js.map +1 -1
- package/dist/v1/resources/kv.js +2 -2
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notification_preferences.js +2 -2
- package/dist/v1/resources/notification_preferences.js.map +1 -1
- package/dist/v1/resources/notifications.js +2 -2
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +115 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -0
- package/dist/v1/resources/oauth.js +112 -0
- package/dist/v1/resources/oauth.js.map +1 -0
- package/dist/v1/resources/orgs.js +2 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.d.ts +25 -0
- package/dist/v1/resources/slack_channel_bindings.d.ts.map +1 -1
- package/dist/v1/resources/slack_channel_bindings.js +24 -2
- package/dist/v1/resources/slack_channel_bindings.js.map +1 -1
- package/dist/v1/resources/solution_categories.js +2 -2
- package/dist/v1/resources/solution_categories.js.map +1 -1
- package/dist/v1/resources/solution_instances.d.ts +26 -0
- package/dist/v1/resources/solution_instances.d.ts.map +1 -0
- package/dist/v1/resources/solution_instances.js +35 -0
- package/dist/v1/resources/solution_instances.js.map +1 -0
- package/dist/v1/resources/solution_tags.js +2 -2
- package/dist/v1/resources/solution_tags.js.map +1 -1
- package/dist/v1/resources/solutions.d.ts +85 -1
- package/dist/v1/resources/solutions.d.ts.map +1 -1
- package/dist/v1/resources/solutions.js +67 -3
- package/dist/v1/resources/solutions.js.map +1 -1
- package/dist/v1/resources/team_memberships.js +2 -2
- package/dist/v1/resources/team_memberships.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +210 -4
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +16 -6
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +24 -4
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +9 -6
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +158 -42
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +121 -32
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +132 -1
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +4 -2
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/work_items.d.ts +78 -0
- package/dist/v1/resources/work_items.d.ts.map +1 -0
- package/dist/v1/resources/work_items.js +86 -0
- package/dist/v1/resources/work_items.js.map +1 -0
- package/dist/v1.d.ts +10 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +17 -2
- package/dist/v1.js.map +1 -1
- package/docs/authentication.md +91 -0
- package/docs/react-native.md +118 -0
- package/docs/scenarios.md +57 -0
- package/package.json +27 -5
package/dist/v1.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Copyright (c) 2026 ArchAstro Inc.
|
|
1
|
+
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: 5ca888214c05
|
|
4
4
|
import { ActivityFeedResource } from "./v1/resources/activity_feed.js";
|
|
5
5
|
import { AgentComputerResource } from "./v1/resources/agent_computers.js";
|
|
6
6
|
import { AgentEnvVarResource } from "./v1/resources/agent_env_vars.js";
|
|
@@ -19,17 +19,21 @@ import { AutomationResource } from "./v1/resources/automations.js";
|
|
|
19
19
|
import { BugReportResource } from "./v1/resources/bug_reports.js";
|
|
20
20
|
import { ConfigResource } from "./v1/resources/config.js";
|
|
21
21
|
import { CustomObjectResource } from "./v1/resources/custom_objects.js";
|
|
22
|
+
import { ExtractionResource } from "./v1/resources/extractions.js";
|
|
22
23
|
import { FileResource } from "./v1/resources/files.js";
|
|
23
24
|
import { InstallationSourceResource } from "./v1/resources/installation_sources.js";
|
|
24
25
|
import { InviteResource } from "./v1/resources/invites.js";
|
|
25
26
|
import { KnowledgeDocumentResource } from "./v1/resources/knowledge_documents.js";
|
|
27
|
+
import { KnowledgeIngestionResource } from "./v1/resources/knowledge_ingestions.js";
|
|
26
28
|
import { KnowledgeSourceResource } from "./v1/resources/knowledge_sources.js";
|
|
27
29
|
import { KvResource } from "./v1/resources/kv.js";
|
|
28
30
|
import { NotificationPreferenceResource } from "./v1/resources/notification_preferences.js";
|
|
29
31
|
import { NotificationResource } from "./v1/resources/notifications.js";
|
|
32
|
+
import { OauthResource } from "./v1/resources/oauth.js";
|
|
30
33
|
import { OrgResource } from "./v1/resources/orgs.js";
|
|
31
34
|
import { SlackChannelBindingResource } from "./v1/resources/slack_channel_bindings.js";
|
|
32
35
|
import { SolutionCategoryResource } from "./v1/resources/solution_categories.js";
|
|
36
|
+
import { SolutionInstanceResource } from "./v1/resources/solution_instances.js";
|
|
33
37
|
import { SolutionTagResource } from "./v1/resources/solution_tags.js";
|
|
34
38
|
import { SolutionResource } from "./v1/resources/solutions.js";
|
|
35
39
|
import { TeamMembershipResource } from "./v1/resources/team_memberships.js";
|
|
@@ -37,6 +41,7 @@ import { TeamResource } from "./v1/resources/teams.js";
|
|
|
37
41
|
import { ThreadMessageResource } from "./v1/resources/thread_messages.js";
|
|
38
42
|
import { ThreadResource } from "./v1/resources/threads.js";
|
|
39
43
|
import { UserResource } from "./v1/resources/users.js";
|
|
44
|
+
import { WorkItemResource } from "./v1/resources/work_items.js";
|
|
40
45
|
export class V1 {
|
|
41
46
|
activity_feed;
|
|
42
47
|
agent_computers;
|
|
@@ -55,10 +60,12 @@ export class V1 {
|
|
|
55
60
|
bug_reports;
|
|
56
61
|
config;
|
|
57
62
|
custom_objects;
|
|
63
|
+
extractions;
|
|
58
64
|
files;
|
|
59
65
|
installation_sources;
|
|
60
66
|
invites;
|
|
61
67
|
knowledge_documents;
|
|
68
|
+
knowledge_ingestions;
|
|
62
69
|
knowledge_sources;
|
|
63
70
|
kv;
|
|
64
71
|
notification_preferences;
|
|
@@ -66,6 +73,7 @@ export class V1 {
|
|
|
66
73
|
orgs;
|
|
67
74
|
slack_channel_bindings;
|
|
68
75
|
solution_categories;
|
|
76
|
+
solution_instances;
|
|
69
77
|
solution_tags;
|
|
70
78
|
solutions;
|
|
71
79
|
team_memberships;
|
|
@@ -73,7 +81,9 @@ export class V1 {
|
|
|
73
81
|
thread_messages;
|
|
74
82
|
threads;
|
|
75
83
|
users;
|
|
84
|
+
work_items;
|
|
76
85
|
ai;
|
|
86
|
+
oauth;
|
|
77
87
|
constructor(http) {
|
|
78
88
|
this.activity_feed = new ActivityFeedResource(http);
|
|
79
89
|
this.agent_computers = new AgentComputerResource(http);
|
|
@@ -92,10 +102,12 @@ export class V1 {
|
|
|
92
102
|
this.bug_reports = new BugReportResource(http);
|
|
93
103
|
this.config = new ConfigResource(http);
|
|
94
104
|
this.custom_objects = new CustomObjectResource(http);
|
|
105
|
+
this.extractions = new ExtractionResource(http);
|
|
95
106
|
this.files = new FileResource(http);
|
|
96
107
|
this.installation_sources = new InstallationSourceResource(http);
|
|
97
108
|
this.invites = new InviteResource(http);
|
|
98
109
|
this.knowledge_documents = new KnowledgeDocumentResource(http);
|
|
110
|
+
this.knowledge_ingestions = new KnowledgeIngestionResource(http);
|
|
99
111
|
this.knowledge_sources = new KnowledgeSourceResource(http);
|
|
100
112
|
this.kv = new KvResource(http);
|
|
101
113
|
this.notification_preferences = new NotificationPreferenceResource(http);
|
|
@@ -103,6 +115,7 @@ export class V1 {
|
|
|
103
115
|
this.orgs = new OrgResource(http);
|
|
104
116
|
this.slack_channel_bindings = new SlackChannelBindingResource(http);
|
|
105
117
|
this.solution_categories = new SolutionCategoryResource(http);
|
|
118
|
+
this.solution_instances = new SolutionInstanceResource(http);
|
|
106
119
|
this.solution_tags = new SolutionTagResource(http);
|
|
107
120
|
this.solutions = new SolutionResource(http);
|
|
108
121
|
this.team_memberships = new TeamMembershipResource(http);
|
|
@@ -110,7 +123,9 @@ export class V1 {
|
|
|
110
123
|
this.thread_messages = new ThreadMessageResource(http);
|
|
111
124
|
this.threads = new ThreadResource(http);
|
|
112
125
|
this.users = new UserResource(http);
|
|
126
|
+
this.work_items = new WorkItemResource(http);
|
|
113
127
|
this.ai = new AiResource(http);
|
|
128
|
+
this.oauth = new OauthResource(http);
|
|
114
129
|
}
|
|
115
130
|
}
|
|
116
131
|
//# sourceMappingURL=v1.js.map
|
package/dist/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["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+
|
|
8
|
+
`@archastro/sdk` supports four auth shapes. Pick the one that matches who the
|
|
9
|
+
process is acting as.
|
|
10
|
+
|
|
11
|
+
## Mobile / SPA durable app session
|
|
12
|
+
|
|
13
|
+
Use this for React Native or browser apps that sign users in (passwordless OTP
|
|
14
|
+
or other flows) and need access tokens to auto-refresh across restarts.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { PlatformClient, type SessionStorage } from "@archastro/sdk";
|
|
18
|
+
|
|
19
|
+
const client = PlatformClient.forApp({
|
|
20
|
+
publishableKey: process.env.ARCHASTRO_PUBLISHABLE_KEY ?? "",
|
|
21
|
+
baseUrl: process.env.ARCHASTRO_PLATFORM_BASE_URL, // optional
|
|
22
|
+
storage, // your SecureStore / AsyncStorage adapter
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
await client.restore();
|
|
26
|
+
// login → client.passwordless… → client.signIn(tokens, user)
|
|
27
|
+
const me = await client.users.me();
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
On 401 the client exchanges the refresh token via `POST /api/v1/auth/refresh`,
|
|
31
|
+
updates storage, and retries. See [React Native](./react-native.md).
|
|
32
|
+
|
|
33
|
+
## Static user access token
|
|
34
|
+
|
|
35
|
+
Use this when a user has already signed in elsewhere and your code only has a
|
|
36
|
+
publishable API key plus a short-lived access token (no durable refresh).
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
import { PlatformClient } from "@archastro/sdk";
|
|
40
|
+
|
|
41
|
+
const client = PlatformClient.withToken(
|
|
42
|
+
process.env.ARCHASTRO_API_KEY ?? "",
|
|
43
|
+
process.env.ARCHASTRO_ACCESS_TOKEN ?? "",
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
const me = await client.users.me();
|
|
47
|
+
console.log(me.id, me.email);
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Org bot or worker
|
|
51
|
+
|
|
52
|
+
Use this when a backend process should act as an org-owned system user. The
|
|
53
|
+
token should be an app-scoped user token created for that bot or worker.
|
|
54
|
+
|
|
55
|
+
```ts
|
|
56
|
+
import { PlatformClient } from "@archastro/sdk";
|
|
57
|
+
|
|
58
|
+
const client = new PlatformClient({
|
|
59
|
+
accessToken: process.env.ARCHASTRO_ACCESS_TOKEN,
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
const me = await client.users.me();
|
|
63
|
+
console.log(me.id);
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Email/password (scripts)
|
|
67
|
+
|
|
68
|
+
```ts
|
|
69
|
+
const client = await PlatformClient.withCredentials(
|
|
70
|
+
publishableKey,
|
|
71
|
+
email,
|
|
72
|
+
password,
|
|
73
|
+
baseUrl,
|
|
74
|
+
);
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Wires in-memory refresh only — tokens are not persisted. Prefer `forApp` for
|
|
78
|
+
long-lived clients.
|
|
79
|
+
|
|
80
|
+
## Local or staging targets
|
|
81
|
+
|
|
82
|
+
The SDK defaults to `https://platform.archastro.ai`. Override `baseUrl` only
|
|
83
|
+
when targeting local development, staging, or another non-production gateway.
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
const client = PlatformClient.forApp({
|
|
87
|
+
publishableKey: process.env.ARCHASTRO_PUBLISHABLE_KEY ?? "",
|
|
88
|
+
baseUrl: process.env.ARCHASTRO_PLATFORM_BASE_URL,
|
|
89
|
+
storage,
|
|
90
|
+
});
|
|
91
|
+
```
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: React Native
|
|
3
|
+
group: Guides
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# React Native / Expo
|
|
7
|
+
|
|
8
|
+
`@archastro/sdk` works in React Native and Expo without Node polyfills
|
|
9
|
+
(`events`, `ws`, etc.). The package ships a Metro-resolved native entry and a
|
|
10
|
+
`.native` WebSocket factory that uses the global `WebSocket` only.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @archastro/sdk
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
`zod` is a normal dependency and is resolved by Metro from the package. The
|
|
19
|
+
optional `ws` package is **Node-only** and is not required in RN (Metro loads
|
|
20
|
+
`phx_channel/websocket.native.js` instead).
|
|
21
|
+
|
|
22
|
+
## One client: `PlatformClient.forApp`
|
|
23
|
+
|
|
24
|
+
Provide durable storage (Expo SecureStore or AsyncStorage) and a publishable
|
|
25
|
+
key. Session lifecycle, passwordless OTP, auto-refresh, and REST all live on
|
|
26
|
+
the same `PlatformClient` instance:
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import {
|
|
30
|
+
PlatformClient,
|
|
31
|
+
ApiChatChannel,
|
|
32
|
+
type SessionStorage,
|
|
33
|
+
type AppSession,
|
|
34
|
+
} from "@archastro/sdk";
|
|
35
|
+
import * as SecureStore from "expo-secure-store";
|
|
36
|
+
|
|
37
|
+
// Only SessionStorage is a public type you implement — OTP, refresh, and
|
|
38
|
+
// sockets are methods on the client returned by forApp.
|
|
39
|
+
const storage: SessionStorage = {
|
|
40
|
+
async load() {
|
|
41
|
+
const raw = await SecureStore.getItemAsync("archastro_session");
|
|
42
|
+
return raw ? (JSON.parse(raw) as AppSession) : null;
|
|
43
|
+
},
|
|
44
|
+
async save(session) {
|
|
45
|
+
await SecureStore.setItemAsync("archastro_session", JSON.stringify(session));
|
|
46
|
+
},
|
|
47
|
+
async clear() {
|
|
48
|
+
await SecureStore.deleteItemAsync("archastro_session");
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
const client = PlatformClient.forApp({
|
|
53
|
+
baseUrl: process.env.EXPO_PUBLIC_API_BASE_URL!,
|
|
54
|
+
publishableKey: process.env.EXPO_PUBLIC_PUBLISHABLE_KEY!,
|
|
55
|
+
storage,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
await client.restore();
|
|
59
|
+
|
|
60
|
+
// Passwordless OTP (behind the client — not a free-standing auth class)
|
|
61
|
+
await client.passwordless.register({
|
|
62
|
+
email: "you@company.com",
|
|
63
|
+
full_name: "You",
|
|
64
|
+
alias: "you",
|
|
65
|
+
});
|
|
66
|
+
// or requestLoginCode on existing accounts
|
|
67
|
+
|
|
68
|
+
const { tokens, user } = await client.passwordless.verifyCode({
|
|
69
|
+
email: "you@company.com",
|
|
70
|
+
code: "123456",
|
|
71
|
+
});
|
|
72
|
+
await client.signIn(tokens, user as AppSession["user"]);
|
|
73
|
+
|
|
74
|
+
// Typed REST — 401 auto-refreshes using the stored refresh token
|
|
75
|
+
const me = await client.users.me();
|
|
76
|
+
const agents = await client.agents.list();
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Realtime chat
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
const socket = client.createSocket(); // uses current access token + publishable key
|
|
83
|
+
await socket.connect();
|
|
84
|
+
|
|
85
|
+
const channel = await ApiChatChannel.joinUserThread(socket, threadId, {
|
|
86
|
+
limit: 50,
|
|
87
|
+
});
|
|
88
|
+
await channel.apiChatPostMessage({ content: "Hello" });
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
## What the SDK needs from RN
|
|
92
|
+
|
|
93
|
+
| Need | Source |
|
|
94
|
+
|---|---|
|
|
95
|
+
| HTTP | global `fetch` |
|
|
96
|
+
| WebSocket | global `WebSocket` |
|
|
97
|
+
| Token persistence | your `SessionStorage` |
|
|
98
|
+
| API base URL | e.g. `http://localhost:4005` (sim) or production |
|
|
99
|
+
| Publishable key | `x-archastro-api-key` header |
|
|
100
|
+
|
|
101
|
+
## Local monorepo (file: link)
|
|
102
|
+
|
|
103
|
+
When developing against a local `archastro-js` checkout:
|
|
104
|
+
|
|
105
|
+
```json
|
|
106
|
+
"@archastro/sdk": "file:../../../archastro-js/packages/sdk"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
Point Metro `watchFolders` at the SDK package and rebuild after SDK changes:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
cd packages/sdk && npm run build
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## iOS simulator localhost
|
|
116
|
+
|
|
117
|
+
The iOS simulator can reach the host via `http://localhost:PORT`. Physical
|
|
118
|
+
devices need your machine LAN IP instead.
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Integration Scenarios
|
|
3
|
+
group: Guides
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Integration Scenarios
|
|
7
|
+
|
|
8
|
+
These examples show the SDK shape for common integrations. They were smoke-tested
|
|
9
|
+
against the local platform dev harness with org-user tokens.
|
|
10
|
+
|
|
11
|
+
## Read The Current User
|
|
12
|
+
|
|
13
|
+
Use `users.me()` to validate that a token is usable and to discover the current
|
|
14
|
+
actor.
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { PlatformClient } from "@archastro/sdk";
|
|
18
|
+
|
|
19
|
+
const client = PlatformClient.withToken(
|
|
20
|
+
process.env.ARCHASTRO_API_KEY ?? "",
|
|
21
|
+
process.env.ARCHASTRO_ACCESS_TOKEN ?? "",
|
|
22
|
+
);
|
|
23
|
+
|
|
24
|
+
const me = await client.users.me();
|
|
25
|
+
console.log(me.id, me.email);
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## List Teams
|
|
29
|
+
|
|
30
|
+
Use resource collections directly from the client. List responses are typed and
|
|
31
|
+
follow the API response shape for that resource.
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
const teams = await client.teams.list();
|
|
35
|
+
console.log(teams);
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Create An Agent
|
|
39
|
+
|
|
40
|
+
Use `agents.create()` to provision an agent owned by the current user, org, or
|
|
41
|
+
team context. Store the returned `id` if you need to fetch or update it later.
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
const agent = await client.agents.create({
|
|
45
|
+
name: "Support triage",
|
|
46
|
+
identity: "You triage support requests and keep replies concise.",
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
console.log(agent.id, agent.name);
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
For cleanup in tests and scripts:
|
|
53
|
+
|
|
54
|
+
```ts
|
|
55
|
+
await client.agents.delete(agent.id);
|
|
56
|
+
```
|
|
57
|
+
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archastro/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "TypeScript SDK for the ArchAstro Platform API",
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "TypeScript SDK for the ArchAstro Platform API (Node, browser, React Native)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"react-native": "dist/index.native.js",
|
|
9
|
+
"browser": "dist/index.js",
|
|
8
10
|
"files": [
|
|
9
|
-
"dist"
|
|
11
|
+
"dist",
|
|
12
|
+
"docs"
|
|
10
13
|
],
|
|
11
14
|
"scripts": {
|
|
12
15
|
"build": "tsc",
|
|
@@ -24,7 +27,6 @@
|
|
|
24
27
|
"directory": "packages/sdk"
|
|
25
28
|
},
|
|
26
29
|
"dependencies": {
|
|
27
|
-
"ws": "^8.17.0",
|
|
28
30
|
"zod": "^3.22.0"
|
|
29
31
|
},
|
|
30
32
|
"devDependencies": {
|
|
@@ -34,6 +36,26 @@
|
|
|
34
36
|
"@types/ws": "^8.5.0",
|
|
35
37
|
"typedoc": "^0.28.19",
|
|
36
38
|
"typescript": "^5.4.0",
|
|
37
|
-
"vitest": "^4.1.3"
|
|
39
|
+
"vitest": "^4.1.3",
|
|
40
|
+
"ws": "^8.17.0"
|
|
41
|
+
},
|
|
42
|
+
"keywords": [
|
|
43
|
+
"archastro",
|
|
44
|
+
"sdk",
|
|
45
|
+
"react-native",
|
|
46
|
+
"expo",
|
|
47
|
+
"phoenix",
|
|
48
|
+
"typescript"
|
|
49
|
+
],
|
|
50
|
+
"optionalDependencies": {
|
|
51
|
+
"ws": "^8.17.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependencies": {
|
|
54
|
+
"ws": "^8.17.0"
|
|
55
|
+
},
|
|
56
|
+
"peerDependenciesMeta": {
|
|
57
|
+
"ws": {
|
|
58
|
+
"optional": true
|
|
59
|
+
}
|
|
38
60
|
}
|
|
39
61
|
}
|