@stigmer/apis 0.1.3 → 0.3.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.
Files changed (35) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +16 -1
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js +1 -1
  3. package/ai/stigmer/agentic/run/v1/api_pb.d.ts +10 -1
  4. package/ai/stigmer/agentic/run/v1/api_pb.js +1 -1
  5. package/ai/stigmer/agentic/run/v1/io_pb.d.ts +44 -0
  6. package/ai/stigmer/agentic/run/v1/io_pb.js +34 -29
  7. package/ai/stigmer/agentic/run/v1/query_connect.d.ts +15 -0
  8. package/ai/stigmer/agentic/run/v1/query_connect.js +16 -1
  9. package/ai/stigmer/agentic/run/v1/query_pb.d.ts +15 -1
  10. package/ai/stigmer/agentic/run/v1/query_pb.js +1 -1
  11. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +39 -0
  12. package/ai/stigmer/agentic/session/v1/enum_pb.js +43 -3
  13. package/ai/stigmer/agentic/session/v1/event_content_pb.d.ts +49 -0
  14. package/ai/stigmer/agentic/session/v1/event_content_pb.js +9 -4
  15. package/ai/stigmer/agentic/session/v1/event_pb.d.ts +24 -3
  16. package/ai/stigmer/agentic/session/v1/event_pb.js +1 -1
  17. package/ai/stigmer/agentic/session/v1/status_pb.d.ts +9 -1
  18. package/ai/stigmer/agentic/session/v1/status_pb.js +1 -1
  19. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +55 -0
  20. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +10 -5
  21. package/ai/stigmer/iam/v1/enum_pb.d.ts +10 -1
  22. package/ai/stigmer/iam/v1/enum_pb.js +10 -1
  23. package/ai/stigmer/platform/v1/onboarding_funnel_pb.d.ts +92 -0
  24. package/ai/stigmer/platform/v1/onboarding_funnel_pb.js +26 -0
  25. package/ai/stigmer/platform/v1/server_info_connect.d.ts +22 -0
  26. package/ai/stigmer/platform/v1/server_info_connect.js +23 -0
  27. package/ai/stigmer/platform/v1/server_info_pb.d.ts +69 -3
  28. package/ai/stigmer/platform/v1/server_info_pb.js +19 -10
  29. package/ai/stigmer/tenancy/organization/v1/onboarding_pb.d.ts +192 -0
  30. package/ai/stigmer/tenancy/organization/v1/onboarding_pb.js +86 -0
  31. package/ai/stigmer/tenancy/organization/v1/query_connect.d.ts +17 -0
  32. package/ai/stigmer/tenancy/organization/v1/query_connect.js +18 -0
  33. package/ai/stigmer/tenancy/organization/v1/query_pb.d.ts +17 -0
  34. package/ai/stigmer/tenancy/organization/v1/query_pb.js +2 -1
  35. package/package.json +3 -3
@@ -5,6 +5,7 @@
5
5
  import { GetLicenseStatusInput, GetLicenseStatusOutput, GetRunnerBootstrapConfigInput, GetRunnerBootstrapConfigOutput, GetRunnerScopedTokenInput, GetRunnerScopedTokenOutput, GetServerInfoInput, GetServerInfoOutput } from "./server_info_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  import { GetModelReadinessInput, GetModelReadinessOutput } from "./model_readiness_pbjs";
8
+ import { GetOnboardingFunnelInput, GetOnboardingFunnelOutput } from "./onboarding_funnel_pbjs";
8
9
  /**
9
10
  * Query service for server identity, capabilities, and runner bootstrap.
10
11
  *
@@ -23,6 +24,9 @@ import { GetModelReadinessInput, GetModelReadinessOutput } from "./model_readine
23
24
  * Signed-in members call getModelReadiness to learn which models can run in
24
25
  * their organization before they start a run.
25
26
  *
27
+ * Platform operators call getOnboardingFunnel to learn how far new
28
+ * organizations got on the journey from a first agent to their users.
29
+ *
26
30
  * @generated from service ai.stigmer.platform.v1.PlatformQueryController
27
31
  */
28
32
  export const PlatformQueryController = {
@@ -95,6 +99,25 @@ export const PlatformQueryController = {
95
99
  O: GetModelReadinessOutput,
96
100
  kind: MethodKind.Unary,
97
101
  },
102
+ /**
103
+ * Returns how far the organizations made in a window got on the journey
104
+ * from a first agent to its users: how many were made, and how many have
105
+ * each of the six steps done.
106
+ *
107
+ * Counts only, with no names, addresses or identifiers. Organizations
108
+ * made by an address the operator lists as internal
109
+ * (STIGMER_INTERNAL_ACCOUNTS) are left out and counted apart. A window
110
+ * holding more organizations than one answer counts is refused with a
111
+ * narrower window suggested.
112
+ *
113
+ * @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getOnboardingFunnel
114
+ */
115
+ getOnboardingFunnel: {
116
+ name: "getOnboardingFunnel",
117
+ I: GetOnboardingFunnelInput,
118
+ O: GetOnboardingFunnelOutput,
119
+ kind: MethodKind.Unary,
120
+ },
98
121
  /**
99
122
  * Returns everything an embedded runner needs to bootstrap itself.
100
123
  *
@@ -1,6 +1,7 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { LicenseClaims, LicenseState } from "./license_pb.js";
3
3
  import type { GetModelReadinessInputSchema, GetModelReadinessOutputSchema } from "./model_readiness_pb.js";
4
+ import type { GetOnboardingFunnelInputSchema, GetOnboardingFunnelOutputSchema } from "./onboarding_funnel_pb.js";
4
5
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
6
  import type { Message } from "@bufbuild/protobuf";
6
7
  /**
@@ -81,13 +82,15 @@ export type GetServerInfoOutput = Message<"ai.stigmer.platform.v1.GetServerInfoO
81
82
  */
82
83
  environments?: EnvironmentAvailability;
83
84
  /**
84
- * How an app installed on a person's computer (the desktop app) signs
85
- * its person in to this server.
85
+ * How an app installed on a person's computer (the desktop app, the
86
+ * command line) signs its person in to this server.
86
87
  *
87
88
  * Set when the server signs its callers in and its operator registered
88
89
  * a public native client at the identity provider (RFC 8252: an
89
90
  * Authorization Code flow with PKCE, a `stigmer://auth/callback` or
90
- * loopback redirect, no client secret). Absent when the server trusts
91
+ * loopback redirect, no client secret; the command line also uses the
92
+ * device grant, RFC 8628, where the issuer's discovery document offers
93
+ * it). Absent when the server trusts
91
94
  * every request (`authentication_required` false: nothing to sign in
92
95
  * to), and when no native client is registered, which a client says
93
96
  * instead of guessing an identity provider. Read before sign-in, like
@@ -96,12 +99,54 @@ export type GetServerInfoOutput = Message<"ai.stigmer.platform.v1.GetServerInfoO
96
99
  * @generated from field: ai.stigmer.platform.v1.NativeSignIn native_sign_in = 6;
97
100
  */
98
101
  nativeSignIn?: NativeSignIn;
102
+ /**
103
+ * Where a person goes when they are stuck on this server: its operator's
104
+ * support desk, team chat or community, set by the operator.
105
+ *
106
+ * Absent when the operator set none, and then a client shows no help link
107
+ * rather than guessing one. A client shows it on its own screens (sign-in,
108
+ * every page's chrome, every failure) and never inside an app a builder
109
+ * made for their own users, whose help is the builder's. Read before
110
+ * sign-in, like the rest of this answer, since a person stuck at sign-in
111
+ * needs it most.
112
+ *
113
+ * @generated from field: ai.stigmer.platform.v1.HelpLink help = 7;
114
+ */
115
+ help?: HelpLink;
99
116
  };
100
117
  /**
101
118
  * Describes the message ai.stigmer.platform.v1.GetServerInfoOutput.
102
119
  * Use `create(GetServerInfoOutputSchema)` to create a new message.
103
120
  */
104
121
  export declare const GetServerInfoOutputSchema: GenMessage<GetServerInfoOutput>;
122
+ /**
123
+ * HelpLink is a place to ask for help and the words a client shows for it.
124
+ *
125
+ * @generated from message ai.stigmer.platform.v1.HelpLink
126
+ */
127
+ export type HelpLink = Message<"ai.stigmer.platform.v1.HelpLink"> & {
128
+ /**
129
+ * An absolute `https:`, `http:` or `mailto:` address. A server announces
130
+ * no other scheme, and a client refuses one it is handed anyway, since it
131
+ * renders the address as a link.
132
+ *
133
+ * @generated from field: string url = 1;
134
+ */
135
+ url: string;
136
+ /**
137
+ * The link's words, at most 40 characters ("Get help" when the operator
138
+ * set only the address). A client shows them as they are, never as
139
+ * markup.
140
+ *
141
+ * @generated from field: string label = 2;
142
+ */
143
+ label: string;
144
+ };
145
+ /**
146
+ * Describes the message ai.stigmer.platform.v1.HelpLink.
147
+ * Use `create(HelpLinkSchema)` to create a new message.
148
+ */
149
+ export declare const HelpLinkSchema: GenMessage<HelpLink>;
105
150
  /**
106
151
  * NativeSignIn names the identity provider and the public client an app on
107
152
  * a person's computer signs in with. A client reads the provider's
@@ -533,6 +578,9 @@ export declare const ServerEditionSchema: GenEnum<ServerEdition>;
533
578
  * Signed-in members call getModelReadiness to learn which models can run in
534
579
  * their organization before they start a run.
535
580
  *
581
+ * Platform operators call getOnboardingFunnel to learn how far new
582
+ * organizations got on the journey from a first agent to their users.
583
+ *
536
584
  * @generated from service ai.stigmer.platform.v1.PlatformQueryController
537
585
  */
538
586
  export declare const PlatformQueryController: GenService<{
@@ -600,6 +648,24 @@ export declare const PlatformQueryController: GenService<{
600
648
  input: typeof GetModelReadinessInputSchema;
601
649
  output: typeof GetModelReadinessOutputSchema;
602
650
  };
651
+ /**
652
+ * Returns how far the organizations made in a window got on the journey
653
+ * from a first agent to its users: how many were made, and how many have
654
+ * each of the six steps done.
655
+ *
656
+ * Counts only, with no names, addresses or identifiers. Organizations
657
+ * made by an address the operator lists as internal
658
+ * (STIGMER_INTERNAL_ACCOUNTS) are left out and counted apart. A window
659
+ * holding more organizations than one answer counts is refused with a
660
+ * narrower window suggested.
661
+ *
662
+ * @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getOnboardingFunnel
663
+ */
664
+ getOnboardingFunnel: {
665
+ methodKind: "unary";
666
+ input: typeof GetOnboardingFunnelInputSchema;
667
+ output: typeof GetOnboardingFunnelOutputSchema;
668
+ };
603
669
  /**
604
670
  * Returns everything an embedded runner needs to bootstrap itself.
605
671
  *
@@ -5,12 +5,13 @@ import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf
5
5
  import { file_ai_stigmer_commons_rpc_method_options } from "../../commons/rpc/method_options_pb.js";
6
6
  import { file_ai_stigmer_platform_v1_license } from "./license_pb.js";
7
7
  import { file_ai_stigmer_platform_v1_model_readiness } from "./model_readiness_pb.js";
8
+ import { file_ai_stigmer_platform_v1_onboarding_funnel } from "./onboarding_funnel_pb.js";
8
9
  import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
9
10
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
10
11
  /**
11
12
  * Describes the file ai/stigmer/platform/v1/server_info.proto.
12
13
  */
13
- export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCLNAgoTR2V0U2VydmVySW5mb091dHB1dBI2CgdlZGl0aW9uGAEgASgOMiUuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5TZXJ2ZXJFZGl0aW9uEg8KB3ZlcnNpb24YAiABKAkSJAoXYXV0aGVudGljYXRpb25fcmVxdWlyZWQYAyABKAhIAIgBARIXCgpzaW5nbGVfb3JnGAQgASgISAGIAQESRQoMZW52aXJvbm1lbnRzGAUgASgLMi8uYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5FbnZpcm9ubWVudEF2YWlsYWJpbGl0eRI8Cg5uYXRpdmVfc2lnbl9pbhgGIAEoCzIkLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuTmF0aXZlU2lnbkluQhoKGF9hdXRoZW50aWNhdGlvbl9yZXF1aXJlZEINCgtfc2luZ2xlX29yZyJDCgxOYXRpdmVTaWduSW4SDgoGaXNzdWVyGAEgASgJEhAKCGF1ZGllbmNlGAIgASgJEhEKCWNsaWVudF9pZBgDIAEoCSJYChdFbnZpcm9ubWVudEF2YWlsYWJpbGl0eRIPCgdhcHBsaWVzGAEgASgIEhoKEmxpbWl0ZWRfbmV0d29ya2luZxgCIAEoCBIQCghwYWNrYWdlcxgDIAEoCCIXChVHZXRMaWNlbnNlU3RhdHVzSW5wdXQixAEKFkdldExpY2Vuc2VTdGF0dXNPdXRwdXQSMwoFc3RhdGUYASABKA4yJC5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkxpY2Vuc2VTdGF0ZRI1CgZjbGFpbXMYAiABKAs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_method_options, file_ai_stigmer_platform_v1_license, file_ai_stigmer_platform_v1_model_readiness, file_buf_validate_validate, file_google_protobuf_timestamp]);
14
+ export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCL9AgoTR2V0U2VydmVySW5mb091dHB1dBI2CgdlZGl0aW9uGAEgASgOMiUuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5TZXJ2ZXJFZGl0aW9uEg8KB3ZlcnNpb24YAiABKAkSJAoXYXV0aGVudGljYXRpb25fcmVxdWlyZWQYAyABKAhIAIgBARIXCgpzaW5nbGVfb3JnGAQgASgISAGIAQESRQoMZW52aXJvbm1lbnRzGAUgASgLMi8uYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5FbnZpcm9ubWVudEF2YWlsYWJpbGl0eRI8Cg5uYXRpdmVfc2lnbl9pbhgGIAEoCzIkLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuTmF0aXZlU2lnbkluEi4KBGhlbHAYByABKAsyIC5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkhlbHBMaW5rQhoKGF9hdXRoZW50aWNhdGlvbl9yZXF1aXJlZEINCgtfc2luZ2xlX29yZyImCghIZWxwTGluaxILCgN1cmwYASABKAkSDQoFbGFiZWwYAiABKAkiQwoMTmF0aXZlU2lnbkluEg4KBmlzc3VlchgBIAEoCRIQCghhdWRpZW5jZRgCIAEoCRIRCgljbGllbnRfaWQYAyABKAkiWAoXRW52aXJvbm1lbnRBdmFpbGFiaWxpdHkSDwoHYXBwbGllcxgBIAEoCBIaChJsaW1pdGVkX25ldHdvcmtpbmcYAiABKAgSEAoIcGFja2FnZXMYAyABKAgiFwoVR2V0TGljZW5zZVN0YXR1c0lucHV0IsQBChZHZXRMaWNlbnNlU3RhdHVzT3V0cH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Rmb3JtLnYxLkdldFJ1bm5lckJvb3RzdHJhcENvbmZpZ0lucHV0GjYuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJCb290c3RyYXBDb25maWdPdXRwdXQiBNC4GAESgwEKFGdldFJ1bm5lclNjb3BlZFRva2VuEjEuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJTY29wZWRUb2tlbklucHV0GjIuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJTY29wZWRUb2tlbk91dHB1dCIE0LgYAUIRQg9TZXJ2ZXJJbmZvUHJvdG9iBnByb3RvMw", [file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_platform_v1_license, file_ai_stigmer_platform_v1_model_readiness, file_ai_stigmer_platform_v1_onboarding_funnel, file_buf_validate_validate, file_google_protobuf_timestamp]);
14
15
  /**
15
16
  * Describes the message ai.stigmer.platform.v1.GetServerInfoInput.
16
17
  * Use `create(GetServerInfoInputSchema)` to create a new message.
@@ -21,51 +22,56 @@ export const GetServerInfoInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigme
21
22
  * Use `create(GetServerInfoOutputSchema)` to create a new message.
22
23
  */
23
24
  export const GetServerInfoOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 1);
25
+ /**
26
+ * Describes the message ai.stigmer.platform.v1.HelpLink.
27
+ * Use `create(HelpLinkSchema)` to create a new message.
28
+ */
29
+ export const HelpLinkSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 2);
24
30
  /**
25
31
  * Describes the message ai.stigmer.platform.v1.NativeSignIn.
26
32
  * Use `create(NativeSignInSchema)` to create a new message.
27
33
  */
28
- export const NativeSignInSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 2);
34
+ export const NativeSignInSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 3);
29
35
  /**
30
36
  * Describes the message ai.stigmer.platform.v1.EnvironmentAvailability.
31
37
  * Use `create(EnvironmentAvailabilitySchema)` to create a new message.
32
38
  */
33
- export const EnvironmentAvailabilitySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 3);
39
+ export const EnvironmentAvailabilitySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 4);
34
40
  /**
35
41
  * Describes the message ai.stigmer.platform.v1.GetLicenseStatusInput.
36
42
  * Use `create(GetLicenseStatusInputSchema)` to create a new message.
37
43
  */
38
- export const GetLicenseStatusInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 4);
44
+ export const GetLicenseStatusInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 5);
39
45
  /**
40
46
  * Describes the message ai.stigmer.platform.v1.GetLicenseStatusOutput.
41
47
  * Use `create(GetLicenseStatusOutputSchema)` to create a new message.
42
48
  */
43
- export const GetLicenseStatusOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 5);
49
+ export const GetLicenseStatusOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 6);
44
50
  /**
45
51
  * Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigInput.
46
52
  * Use `create(GetRunnerBootstrapConfigInputSchema)` to create a new message.
47
53
  */
48
- export const GetRunnerBootstrapConfigInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 6);
54
+ export const GetRunnerBootstrapConfigInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 7);
49
55
  /**
50
56
  * Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput.
51
57
  * Use `create(GetRunnerBootstrapConfigOutputSchema)` to create a new message.
52
58
  */
53
- export const GetRunnerBootstrapConfigOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 7);
59
+ export const GetRunnerBootstrapConfigOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 8);
54
60
  /**
55
61
  * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenInput.
56
62
  * Use `create(GetRunnerScopedTokenInputSchema)` to create a new message.
57
63
  */
58
- export const GetRunnerScopedTokenInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 8);
64
+ export const GetRunnerScopedTokenInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 9);
59
65
  /**
60
66
  * Describes the message ai.stigmer.platform.v1.TokenRenewal.
61
67
  * Use `create(TokenRenewalSchema)` to create a new message.
62
68
  */
63
- export const TokenRenewalSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 9);
69
+ export const TokenRenewalSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 10);
64
70
  /**
65
71
  * Describes the message ai.stigmer.platform.v1.GetRunnerScopedTokenOutput.
66
72
  * Use `create(GetRunnerScopedTokenOutputSchema)` to create a new message.
67
73
  */
68
- export const GetRunnerScopedTokenOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 10);
74
+ export const GetRunnerScopedTokenOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 11);
69
75
  /**
70
76
  * Edition of the Stigmer server.
71
77
  *
@@ -141,6 +147,9 @@ export const ServerEditionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_platfo
141
147
  * Signed-in members call getModelReadiness to learn which models can run in
142
148
  * their organization before they start a run.
143
149
  *
150
+ * Platform operators call getOnboardingFunnel to learn how far new
151
+ * organizations got on the journey from a first agent to their users.
152
+ *
144
153
  * @generated from service ai.stigmer.platform.v1.PlatformQueryController
145
154
  */
146
155
  export const PlatformQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_platform_v1_server_info, 0);
@@ -0,0 +1,192 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { Message } from "@bufbuild/protobuf";
3
+ /**
4
+ * Describes the file ai/stigmer/tenancy/organization/v1/onboarding.proto.
5
+ */
6
+ export declare const file_ai_stigmer_tenancy_organization_v1_onboarding: GenFile;
7
+ /**
8
+ * Whether one step of the journey is done.
9
+ *
10
+ * @generated from message ai.stigmer.tenancy.organization.v1.OnboardingStep
11
+ */
12
+ export type OnboardingStep = Message<"ai.stigmer.tenancy.organization.v1.OnboardingStep"> & {
13
+ /**
14
+ * Which step.
15
+ *
16
+ * @generated from field: ai.stigmer.tenancy.organization.v1.OnboardingStepId id = 1;
17
+ */
18
+ id: OnboardingStepId;
19
+ /**
20
+ * Whether the server's records already show the step taken.
21
+ *
22
+ * @generated from field: bool done = 2;
23
+ */
24
+ done: boolean;
25
+ };
26
+ /**
27
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingStep.
28
+ * Use `create(OnboardingStepSchema)` to create a new message.
29
+ */
30
+ export declare const OnboardingStepSchema: GenMessage<OnboardingStep>;
31
+ /**
32
+ * An agent the journey made, named for a client's line about it.
33
+ *
34
+ * @generated from message ai.stigmer.tenancy.organization.v1.OnboardingAgent
35
+ */
36
+ export type OnboardingAgent = Message<"ai.stigmer.tenancy.organization.v1.OnboardingAgent"> & {
37
+ /**
38
+ * The organization the agent lives in.
39
+ *
40
+ * @generated from field: string org = 1;
41
+ */
42
+ org: string;
43
+ /**
44
+ * The agent's slug.
45
+ *
46
+ * @generated from field: string slug = 2;
47
+ */
48
+ slug: string;
49
+ /**
50
+ * The agent's display name.
51
+ *
52
+ * @generated from field: string name = 3;
53
+ */
54
+ name: string;
55
+ };
56
+ /**
57
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingAgent.
58
+ * Use `create(OnboardingAgentSchema)` to create a new message.
59
+ */
60
+ export declare const OnboardingAgentSchema: GenMessage<OnboardingAgent>;
61
+ /**
62
+ * Where an organization is on the journey from a first agent to its users.
63
+ *
64
+ * Every step is read from records the server already keeps: its agents and
65
+ * their versions, its runs, the providers that serve it, and who holds
66
+ * access to it. Nothing is stored for the journey itself.
67
+ *
68
+ * @generated from message ai.stigmer.tenancy.organization.v1.OnboardingProgress
69
+ */
70
+ export type OnboardingProgress = Message<"ai.stigmer.tenancy.organization.v1.OnboardingProgress"> & {
71
+ /**
72
+ * The six steps, in order.
73
+ *
74
+ * @generated from field: repeated ai.stigmer.tenancy.organization.v1.OnboardingStep steps = 1;
75
+ */
76
+ steps: OnboardingStep[];
77
+ /**
78
+ * The newest agent the journey made (an example's, or one described in
79
+ * the person's own words). Unset when there is none.
80
+ *
81
+ * @generated from field: ai.stigmer.tenancy.organization.v1.OnboardingAgent newest_agent = 2;
82
+ */
83
+ newestAgent?: OnboardingAgent;
84
+ /**
85
+ * The newest agent the journey made that has a second version. Unset
86
+ * when none has one.
87
+ *
88
+ * @generated from field: ai.stigmer.tenancy.organization.v1.OnboardingAgent changed_agent = 3;
89
+ */
90
+ changedAgent?: OnboardingAgent;
91
+ /**
92
+ * The first provider that serves a model to the organization ("anthropic"
93
+ * or "openai"), in the server's order. Empty when none is known to.
94
+ *
95
+ * @generated from field: string served_provider = 4;
96
+ */
97
+ servedProvider: string;
98
+ /**
99
+ * Whether any run has ever started here, a failed or stopped one
100
+ * included.
101
+ *
102
+ * @generated from field: bool ever_ran = 5;
103
+ */
104
+ everRan: boolean;
105
+ /**
106
+ * The display name of the first person who signed in from the builder's
107
+ * own app. Empty when nobody has.
108
+ *
109
+ * @generated from field: string app_user_name = 6;
110
+ */
111
+ appUserName: string;
112
+ /**
113
+ * The display names of up to two people, besides the one asking, who hold
114
+ * access to the organization.
115
+ *
116
+ * @generated from field: repeated string joined_names = 7;
117
+ */
118
+ joinedNames: string[];
119
+ /**
120
+ * How many people, besides the one asking, hold access to the
121
+ * organization.
122
+ *
123
+ * @generated from field: int32 joined_count = 8;
124
+ */
125
+ joinedCount: number;
126
+ };
127
+ /**
128
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingProgress.
129
+ * Use `create(OnboardingProgressSchema)` to create a new message.
130
+ */
131
+ export declare const OnboardingProgressSchema: GenMessage<OnboardingProgress>;
132
+ /**
133
+ * One step of the journey from a first agent to its users.
134
+ *
135
+ * The six steps, in order: say what the agent should do, add a model key,
136
+ * watch it work, make it yours, put it in your app, bring others in. A
137
+ * client names and words each step itself; the server only says which are
138
+ * done.
139
+ *
140
+ * @generated from enum ai.stigmer.tenancy.organization.v1.OnboardingStepId
141
+ */
142
+ export declare enum OnboardingStepId {
143
+ /**
144
+ * @generated from enum value: onboarding_step_id_unspecified = 0;
145
+ */
146
+ onboarding_step_id_unspecified = 0,
147
+ /**
148
+ * An agent exists in the organization.
149
+ *
150
+ * @generated from enum value: describe = 1;
151
+ */
152
+ describe = 1,
153
+ /**
154
+ * A provider serves a model to the organization, or a run has completed.
155
+ *
156
+ * @generated from enum value: key = 2;
157
+ */
158
+ key = 2,
159
+ /**
160
+ * A run has completed. A run that failed or was stopped did no job.
161
+ *
162
+ * @generated from enum value: watch = 3;
163
+ */
164
+ watch = 3,
165
+ /**
166
+ * An agent the journey made has a second version: its instructions
167
+ * changed, or a skill was added.
168
+ *
169
+ * @generated from enum value: make_yours = 4;
170
+ */
171
+ make_yours = 4,
172
+ /**
173
+ * A person signed in from the builder's own app: an app user holds
174
+ * access to the organization. Never done on a server that signs nobody
175
+ * in.
176
+ *
177
+ * @generated from enum value: in_app = 5;
178
+ */
179
+ in_app = 5,
180
+ /**
181
+ * A person besides the one asking (or, in a count, besides the
182
+ * organization's creator) holds access to the organization. Never done on
183
+ * a server that signs nobody in.
184
+ *
185
+ * @generated from enum value: others = 6;
186
+ */
187
+ others = 6
188
+ }
189
+ /**
190
+ * Describes the enum ai.stigmer.tenancy.organization.v1.OnboardingStepId.
191
+ */
192
+ export declare const OnboardingStepIdSchema: GenEnum<OnboardingStepId>;
@@ -0,0 +1,86 @@
1
+ // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
+ // @generated from file ai/stigmer/tenancy/organization/v1/onboarding.proto (package ai.stigmer.tenancy.organization.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ /**
6
+ * Describes the file ai/stigmer/tenancy/organization/v1/onboarding.proto.
7
+ */
8
+ export const file_ai_stigmer_tenancy_organization_v1_onboarding = /*@__PURE__*/ fileDesc("CjNhaS9zdGlnbWVyL3RlbmFuY3kvb3JnYW5pemF0aW9uL3YxL29uYm9hcmRpbmcucHJvdG8SImFpLnN0aWdtZXIudGVuYW5jeS5vcmdhbml6YXRpb24udjEiYAoOT25ib2FyZGluZ1N0ZXASQAoCaWQYASABKA4yNC5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLk9uYm9hcmRpbmdTdGVwSWQSDAoEZG9uZRgCIAEoCCI6Cg9PbmJvYXJkaW5nQWdlbnQSCwoDb3JnGAEgASgJEgwKBHNsdWcYAiABKAkSDAoEbmFtZRgDIAEoCSLcAgoST25ib2FyZGluZ1Byb2dyZXNzEkEKBXN0ZXBzGAEgAygLMjIuYWkuc3RpZ21lci50ZW5hbmN5Lm9yZ2FuaXphdGlvbi52MS5PbmJvYXJkaW5nU3RlcBJJCgxuZXdlc3RfYWdlbnQYAiABKAsyMy5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLk9uYm9hcmRpbmdBZ2VudBJKCg1jaGFuZ2VkX2FnZW50GAMgASgLMjMuYWkuc3RpZ21lci50ZW5hbmN5Lm9yZ2FuaXphdGlvbi52MS5PbmJvYXJkaW5nQWdlbnQSFwoPc2VydmVkX3Byb3ZpZGVyGAQgASgJEhAKCGV2ZXJfcmFuGAUgASgIEhUKDWFwcF91c2VyX25hbWUYBiABKAkSFAoMam9pbmVkX25hbWVzGAcgAygJEhQKDGpvaW5lZF9jb3VudBgIIAEoBSqAAQoQT25ib2FyZGluZ1N0ZXBJZBIiCh5vbmJvYXJkaW5nX3N0ZXBfaWRfdW5zcGVjaWZpZWQQABIMCghkZXNjcmliZRABEgcKA2tleRACEgkKBXdhdGNoEAMSDgoKbWFrZV95b3VycxAEEgoKBmluX2FwcBAFEgoKBm90aGVycxAGYgZwcm90bzM");
9
+ /**
10
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingStep.
11
+ * Use `create(OnboardingStepSchema)` to create a new message.
12
+ */
13
+ export const OnboardingStepSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_tenancy_organization_v1_onboarding, 0);
14
+ /**
15
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingAgent.
16
+ * Use `create(OnboardingAgentSchema)` to create a new message.
17
+ */
18
+ export const OnboardingAgentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_tenancy_organization_v1_onboarding, 1);
19
+ /**
20
+ * Describes the message ai.stigmer.tenancy.organization.v1.OnboardingProgress.
21
+ * Use `create(OnboardingProgressSchema)` to create a new message.
22
+ */
23
+ export const OnboardingProgressSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_tenancy_organization_v1_onboarding, 2);
24
+ /**
25
+ * One step of the journey from a first agent to its users.
26
+ *
27
+ * The six steps, in order: say what the agent should do, add a model key,
28
+ * watch it work, make it yours, put it in your app, bring others in. A
29
+ * client names and words each step itself; the server only says which are
30
+ * done.
31
+ *
32
+ * @generated from enum ai.stigmer.tenancy.organization.v1.OnboardingStepId
33
+ */
34
+ export var OnboardingStepId;
35
+ (function (OnboardingStepId) {
36
+ /**
37
+ * @generated from enum value: onboarding_step_id_unspecified = 0;
38
+ */
39
+ OnboardingStepId[OnboardingStepId["onboarding_step_id_unspecified"] = 0] = "onboarding_step_id_unspecified";
40
+ /**
41
+ * An agent exists in the organization.
42
+ *
43
+ * @generated from enum value: describe = 1;
44
+ */
45
+ OnboardingStepId[OnboardingStepId["describe"] = 1] = "describe";
46
+ /**
47
+ * A provider serves a model to the organization, or a run has completed.
48
+ *
49
+ * @generated from enum value: key = 2;
50
+ */
51
+ OnboardingStepId[OnboardingStepId["key"] = 2] = "key";
52
+ /**
53
+ * A run has completed. A run that failed or was stopped did no job.
54
+ *
55
+ * @generated from enum value: watch = 3;
56
+ */
57
+ OnboardingStepId[OnboardingStepId["watch"] = 3] = "watch";
58
+ /**
59
+ * An agent the journey made has a second version: its instructions
60
+ * changed, or a skill was added.
61
+ *
62
+ * @generated from enum value: make_yours = 4;
63
+ */
64
+ OnboardingStepId[OnboardingStepId["make_yours"] = 4] = "make_yours";
65
+ /**
66
+ * A person signed in from the builder's own app: an app user holds
67
+ * access to the organization. Never done on a server that signs nobody
68
+ * in.
69
+ *
70
+ * @generated from enum value: in_app = 5;
71
+ */
72
+ OnboardingStepId[OnboardingStepId["in_app"] = 5] = "in_app";
73
+ /**
74
+ * A person besides the one asking (or, in a count, besides the
75
+ * organization's creator) holds access to the organization. Never done on
76
+ * a server that signs nobody in.
77
+ *
78
+ * @generated from enum value: others = 6;
79
+ */
80
+ OnboardingStepId[OnboardingStepId["others"] = 6] = "others";
81
+ })(OnboardingStepId || (OnboardingStepId = {}));
82
+ /**
83
+ * Describes the enum ai.stigmer.tenancy.organization.v1.OnboardingStepId.
84
+ */
85
+ export const OnboardingStepIdSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_tenancy_organization_v1_onboarding, 0);
86
+ //# sourceMappingURL=onboarding_pb.js.map
@@ -53,5 +53,22 @@ export declare const OrganizationQueryController: {
53
53
  readonly O: any;
54
54
  readonly kind: any;
55
55
  };
56
+ /**
57
+ * Get where an organization is on the journey from a first agent to its
58
+ * users: which of the six steps are done, and the facts a client's lines
59
+ * about them name.
60
+ *
61
+ * Every step is read from what the server already records, so a console
62
+ * asks once instead of reading agents, runs, models and access itself.
63
+ * The one asking is left out of the people who joined.
64
+ *
65
+ * @generated from rpc ai.stigmer.tenancy.organization.v1.OrganizationQueryController.getOnboarding
66
+ */
67
+ readonly getOnboarding: {
68
+ readonly name: "getOnboarding";
69
+ readonly I: any;
70
+ readonly O: any;
71
+ readonly kind: any;
72
+ };
56
73
  };
57
74
  };
@@ -5,6 +5,7 @@
5
5
  import { ChildOrgList, ListChildOrgsInput, ListMyOrganizationsInput, OrganizationExternalLookup, OrganizationId, Organizations } from "./io_pbjs";
6
6
  import { Organization } from "./api_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
+ import { OnboardingProgress } from "./onboarding_pbjs";
8
9
  /**
9
10
  * OrganizationQueryController handles read operations for organizations.
10
11
  *
@@ -60,6 +61,23 @@ export const OrganizationQueryController = {
60
61
  O: ChildOrgList,
61
62
  kind: MethodKind.Unary,
62
63
  },
64
+ /**
65
+ * Get where an organization is on the journey from a first agent to its
66
+ * users: which of the six steps are done, and the facts a client's lines
67
+ * about them name.
68
+ *
69
+ * Every step is read from what the server already records, so a console
70
+ * asks once instead of reading agents, runs, models and access itself.
71
+ * The one asking is left out of the people who joined.
72
+ *
73
+ * @generated from rpc ai.stigmer.tenancy.organization.v1.OrganizationQueryController.getOnboarding
74
+ */
75
+ getOnboarding: {
76
+ name: "getOnboarding",
77
+ I: OrganizationId,
78
+ O: OnboardingProgress,
79
+ kind: MethodKind.Unary,
80
+ },
63
81
  }
64
82
  };
65
83
  //# sourceMappingURL=query_connect.js.map
@@ -1,6 +1,7 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { OrganizationSchema } from "./api_pb.js";
3
3
  import type { ChildOrgListSchema, ListChildOrgsInputSchema, ListMyOrganizationsInputSchema, OrganizationExternalLookupSchema, OrganizationIdSchema, OrganizationsSchema } from "./io_pb.js";
4
+ import type { OnboardingProgressSchema } from "./onboarding_pb.js";
4
5
  /**
5
6
  * Describes the file ai/stigmer/tenancy/organization/v1/query.proto.
6
7
  */
@@ -54,4 +55,20 @@ export declare const OrganizationQueryController: GenService<{
54
55
  input: typeof ListChildOrgsInputSchema;
55
56
  output: typeof ChildOrgListSchema;
56
57
  };
58
+ /**
59
+ * Get where an organization is on the journey from a first agent to its
60
+ * users: which of the six steps are done, and the facts a client's lines
61
+ * about them name.
62
+ *
63
+ * Every step is read from what the server already records, so a console
64
+ * asks once instead of reading agents, runs, models and access itself.
65
+ * The one asking is left out of the people who joined.
66
+ *
67
+ * @generated from rpc ai.stigmer.tenancy.organization.v1.OrganizationQueryController.getOnboarding
68
+ */
69
+ getOnboarding: {
70
+ methodKind: "unary";
71
+ input: typeof OrganizationIdSchema;
72
+ output: typeof OnboardingProgressSchema;
73
+ };
57
74
  }>;
@@ -6,10 +6,11 @@ import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../.
6
6
  import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
7
7
  import { file_ai_stigmer_tenancy_organization_v1_api } from "./api_pb.js";
8
8
  import { file_ai_stigmer_tenancy_organization_v1_io } from "./io_pb.js";
9
+ import { file_ai_stigmer_tenancy_organization_v1_onboarding } from "./onboarding_pb.js";
9
10
  /**
10
11
  * Describes the file ai/stigmer/tenancy/organization/v1/query.proto.
11
12
  */
12
- export const file_ai_stigmer_tenancy_organization_v1_query = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL3RlbmFuY3kvb3JnYW5pemF0aW9uL3YxL3F1ZXJ5LnByb3RvEiJhaS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxMvAFChtPcmdhbml6YXRpb25RdWVyeUNvbnRyb2xsZXISnwEKA2dldBIyLmFpLnN0aWdtZXIudGVuYW5jeS5vcmdhbml6YXRpb24udjEuT3JnYW5pemF0aW9uSWQaMC5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLk9yZ2FuaXphdGlvbiIywrgYLggyEB4iBXZhbHVlKiF1bmF1dGhvcml6ZWQgdG8gdmlldyBvcmdhbml6YXRpb24SgQEKCGxpc3RNaW5lEjwuYWkuc3RpZ21lci50ZW5hbmN5Lm9yZ2FuaXphdGlvbi52MS5MaXN0TXlPcmdhbml6YXRpb25zSW5wdXQaMS5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLk9yZ2FuaXphdGlvbnMiBNC4GAES2QEKD2dldEJ5RXh0ZXJuYWxJZBI+LmFpLnN0aWdtZXIudGVuYW5jeS5vcmdhbml6YXRpb24udjEuT3JnYW5pemF0aW9uRXh0ZXJuYWxMb29rdXAaMC5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLk9yZ2FuaXphdGlvbiJUwrgYUAgxEB4iCnBhcmVudF9vcmcqPnVuYXV0aG9yaXplZCB0byBtYW5hZ2UgdGhpcyBvcmdhbml6YXRpb24ncyBjaGlsZCBvcmdhbml6YXRpb25zEsgBCg1saXN0Q2hpbGRPcmdzEjYuYWkuc3RpZ21lci50ZW5hbmN5Lm9yZ2FuaXphdGlvbi52MS5MaXN0Q2hpbGRPcmdzSW5wdXQaMC5haS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxLkNoaWxkT3JnTGlzdCJNwrgYSQgxEB4iA29yZyo+dW5hdXRob3JpemVkIHRvIG1hbmFnZSB0aGlzIG9yZ2FuaXphdGlvbidzIGNoaWxkIG9yZ2FuaXphdGlvbnMaBKD/Kx5iBnByb3RvMw", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_tenancy_organization_v1_api, file_ai_stigmer_tenancy_organization_v1_io]);
13
+ export const file_ai_stigmer_tenancy_organization_v1_query = /*@__PURE__*/ fileDesc("Ci5haS9zdGlnbWVyL3RlbmFuY3kvb3JnYW5pemF0aW9uL3YxL3F1ZXJ5LnByb3RvEiJhaS5zdGlnbWVyLnRlbmFuY3kub3JnYW5pemF0aW9uLnYxMrQHChtPcmdhbml6YXRpb25RdWVyeUNvbnRyb2xsZXISnwEKA2dldBIyLmFpLnN0aWdtZXIudGVuYW5jeS5vcmdhbml6YXRpb24udjEuT3JnYW5pemF0aW9uSWQaM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ZSozdW5hdXRob3JpemVkIHRvIHJlYWQgdGhpcyBvcmdhbml6YXRpb24ncyBvbmJvYXJkaW5nGgSg/yseYgZwcm90bzM", [file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_tenancy_organization_v1_api, file_ai_stigmer_tenancy_organization_v1_io, file_ai_stigmer_tenancy_organization_v1_onboarding]);
13
14
  /**
14
15
  * OrganizationQueryController handles read operations for organizations.
15
16
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigmer/apis",
3
- "version": "0.1.3",
3
+ "version": "0.3.0",
4
4
  "description": "Generated TypeScript protobuf stubs for Stigmer APIs",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "default": "./*.js"
28
28
  }
29
29
  },
30
- "dependencies": {
31
- "@bufbuild/protobuf": "2.12.0"
30
+ "peerDependencies": {
31
+ "@bufbuild/protobuf": "^2.12.0"
32
32
  }
33
33
  }