@photon-ai/proto 0.0.0 → 0.1.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 CHANGED
@@ -5,7 +5,7 @@ Generated TypeScript bindings for the public Photon gRPC contracts.
5
5
  Wraps two proto packages:
6
6
 
7
7
  - `photon.slack.v1` — Slack runtime contract (`MessageService`, `FileService`, inbound event variants, file metadata).
8
- - `photon.spectrum.v1` — Cross-channel `RawInboundEvent` envelope.
8
+ - `photon.fusor.v1` — Cross-channel `RawInboundEvent` envelope.
9
9
 
10
10
  Generated with [`@bufbuild/protoc-gen-es`](https://github.com/bufbuild/protobuf-es) (`target=js+dts`). Ships schemas + service descriptors only — pair with [`@connectrpc/connect-node`](https://www.npmjs.com/package/@connectrpc/connect-node), [`@connectrpc/connect-web`](https://www.npmjs.com/package/@connectrpc/connect-web), or [`@grpc/grpc-js`](https://www.npmjs.com/package/@grpc/grpc-js) for the transport layer.
11
11
 
@@ -16,7 +16,7 @@
16
16
  // second proof-of-origin can verify it themselves.
17
17
 
18
18
  // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
19
- // @generated from file photon/spectrum/v1/inbound.proto (package photon.spectrum.v1, syntax proto3)
19
+ // @generated from file photon/fusor/v1/inbound.proto (package photon.fusor.v1, syntax proto3)
20
20
  /* eslint-disable */
21
21
 
22
22
  import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
@@ -24,9 +24,9 @@ import type { Message } from "@bufbuild/protobuf";
24
24
  import type { Timestamp } from "@bufbuild/protobuf/wkt";
25
25
 
26
26
  /**
27
- * Describes the file photon/spectrum/v1/inbound.proto.
27
+ * Describes the file photon/fusor/v1/inbound.proto.
28
28
  */
29
- export declare const file_photon_spectrum_v1_inbound: GenFile;
29
+ export declare const file_photon_fusor_v1_inbound: GenFile;
30
30
 
31
31
  /**
32
32
  * The minimal envelope every channel adapter agrees on. spectrum-slack
@@ -36,9 +36,9 @@ export declare const file_photon_spectrum_v1_inbound: GenFile;
36
36
  *
37
37
  * ── Routing + audit metadata. Low field numbers; cheap to skim. ──
38
38
  *
39
- * @generated from message photon.spectrum.v1.RawInboundEvent
39
+ * @generated from message photon.fusor.v1.RawInboundEvent
40
40
  */
41
- export declare type RawInboundEvent = Message<"photon.spectrum.v1.RawInboundEvent"> & {
41
+ export declare type RawInboundEvent = Message<"photon.fusor.v1.RawInboundEvent"> & {
42
42
  /**
43
43
  * UUIDv7 set by the publisher. Mirrored to the JetStream message's `Nats-Msg-Id`
44
44
  * header so the broker's duplicate-detection window collapses Slack retries
@@ -61,7 +61,7 @@ export declare type RawInboundEvent = Message<"photon.spectrum.v1.RawInboundEven
61
61
  * Which channel adapter produced the event. Same value the NATS subject's
62
62
  * third segment encodes (`inbound.<project_id>.slack` for CHANNEL_SLACK).
63
63
  *
64
- * @generated from field: photon.spectrum.v1.Channel channel = 3;
64
+ * @generated from field: photon.fusor.v1.Channel channel = 3;
65
65
  */
66
66
  channel: Channel;
67
67
 
@@ -130,7 +130,7 @@ export declare type RawInboundEvent = Message<"photon.spectrum.v1.RawInboundEven
130
130
  };
131
131
 
132
132
  /**
133
- * Describes the message photon.spectrum.v1.RawInboundEvent.
133
+ * Describes the message photon.fusor.v1.RawInboundEvent.
134
134
  * Use `create(RawInboundEventSchema)` to create a new message.
135
135
  */
136
136
  export declare const RawInboundEventSchema: GenMessage<RawInboundEvent>;
@@ -141,7 +141,7 @@ export declare const RawInboundEventSchema: GenMessage<RawInboundEvent>;
141
141
  * a stable discriminator for SDK-side parsers — adding a new channel reserves
142
142
  * a new enum value rather than introducing a new top-level message.
143
143
  *
144
- * @generated from enum photon.spectrum.v1.Channel
144
+ * @generated from enum photon.fusor.v1.Channel
145
145
  */
146
146
  export enum Channel {
147
147
  /**
@@ -176,7 +176,7 @@ export enum Channel {
176
176
  }
177
177
 
178
178
  /**
179
- * Describes the enum photon.spectrum.v1.Channel.
179
+ * Describes the enum photon.fusor.v1.Channel.
180
180
  */
181
181
  export declare const ChannelSchema: GenEnum<Channel>;
182
182
 
@@ -16,30 +16,30 @@
16
16
  // second proof-of-origin can verify it themselves.
17
17
 
18
18
  // @generated by protoc-gen-es v2.12.0 with parameter "target=js+dts,import_extension=js"
19
- // @generated from file photon/spectrum/v1/inbound.proto (package photon.spectrum.v1, syntax proto3)
19
+ // @generated from file photon/fusor/v1/inbound.proto (package photon.fusor.v1, syntax proto3)
20
20
  /* eslint-disable */
21
21
 
22
22
  import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
23
23
  import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
24
24
 
25
25
  /**
26
- * Describes the file photon/spectrum/v1/inbound.proto.
26
+ * Describes the file photon/fusor/v1/inbound.proto.
27
27
  */
28
- export const file_photon_spectrum_v1_inbound = /*@__PURE__*/
29
- fileDesc("CiBwaG90b24vc3BlY3RydW0vdjEvaW5ib3VuZC5wcm90bxIScGhvdG9uLnNwZWN0cnVtLnYxIuoCCg9SYXdJbmJvdW5kRXZlbnQSEAoIZXZlbnRfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRIsCgdjaGFubmVsGAMgASgOMhsucGhvdG9uLnNwZWN0cnVtLnYxLkNoYW5uZWwSLwoLcmVjZWl2ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCXNvdXJjZV9pZBgFIAEoCRIUCgxjb250ZW50X3R5cGUYCiABKAkSDAoEYm9keRgLIAEoDBJBCgdoZWFkZXJzGAwgAygLMjAucGhvdG9uLnNwZWN0cnVtLnYxLlJhd0luYm91bmRFdmVudC5IZWFkZXJzRW50cnkSEwoLc291cmNlX3BhdGgYDSABKAkSEwoLaHR0cF9tZXRob2QYDiABKAkaLgoMSGVhZGVyc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjgEKB0NoYW5uZWwSFwoTQ0hBTk5FTF9VTlNQRUNJRklFRBAAEhEKDUNIQU5ORUxfU0xBQ0sQARIUChBDSEFOTkVMX0lNRVNTQUdFEAISHQoZQ0hBTk5FTF9XSEFUU0FQUF9CVVNJTkVTUxADEhEKDUNIQU5ORUxfVk9JQ0UQBBIPCgtDSEFOTkVMX1NJUBAFYgZwcm90bzM", [file_google_protobuf_timestamp]);
28
+ export const file_photon_fusor_v1_inbound = /*@__PURE__*/
29
+ fileDesc("Ch1waG90b24vZnVzb3IvdjEvaW5ib3VuZC5wcm90bxIPcGhvdG9uLmZ1c29yLnYxIuQCCg9SYXdJbmJvdW5kRXZlbnQSEAoIZXZlbnRfaWQYASABKAkSEgoKcHJvamVjdF9pZBgCIAEoCRIpCgdjaGFubmVsGAMgASgOMhgucGhvdG9uLmZ1c29yLnYxLkNoYW5uZWwSLwoLcmVjZWl2ZWRfYXQYBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhEKCXNvdXJjZV9pZBgFIAEoCRIUCgxjb250ZW50X3R5cGUYCiABKAkSDAoEYm9keRgLIAEoDBI+CgdoZWFkZXJzGAwgAygLMi0ucGhvdG9uLmZ1c29yLnYxLlJhd0luYm91bmRFdmVudC5IZWFkZXJzRW50cnkSEwoLc291cmNlX3BhdGgYDSABKAkSEwoLaHR0cF9tZXRob2QYDiABKAkaLgoMSGVhZGVyc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEqjgEKB0NoYW5uZWwSFwoTQ0hBTk5FTF9VTlNQRUNJRklFRBAAEhEKDUNIQU5ORUxfU0xBQ0sQARIUChBDSEFOTkVMX0lNRVNTQUdFEAISHQoZQ0hBTk5FTF9XSEFUU0FQUF9CVVNJTkVTUxADEhEKDUNIQU5ORUxfVk9JQ0UQBBIPCgtDSEFOTkVMX1NJUBAFYgZwcm90bzM", [file_google_protobuf_timestamp]);
30
30
 
31
31
  /**
32
- * Describes the message photon.spectrum.v1.RawInboundEvent.
32
+ * Describes the message photon.fusor.v1.RawInboundEvent.
33
33
  * Use `create(RawInboundEventSchema)` to create a new message.
34
34
  */
35
35
  export const RawInboundEventSchema = /*@__PURE__*/
36
- messageDesc(file_photon_spectrum_v1_inbound, 0);
36
+ messageDesc(file_photon_fusor_v1_inbound, 0);
37
37
 
38
38
  /**
39
- * Describes the enum photon.spectrum.v1.Channel.
39
+ * Describes the enum photon.fusor.v1.Channel.
40
40
  */
41
41
  export const ChannelSchema = /*@__PURE__*/
42
- enumDesc(file_photon_spectrum_v1_inbound, 0);
42
+ enumDesc(file_photon_fusor_v1_inbound, 0);
43
43
 
44
44
  /**
45
45
  * Wire identifier for the source channel that produced an event. Used as the
@@ -47,7 +47,7 @@ export const ChannelSchema = /*@__PURE__*/
47
47
  * a stable discriminator for SDK-side parsers — adding a new channel reserves
48
48
  * a new enum value rather than introducing a new top-level message.
49
49
  *
50
- * @generated from enum photon.spectrum.v1.Channel
50
+ * @generated from enum photon.fusor.v1.Channel
51
51
  */
52
52
  export const Channel = /*@__PURE__*/
53
53
  tsEnum(ChannelSchema);
@@ -263,7 +263,7 @@ export declare const WhoAmIResponseSchema: GenMessage<WhoAmIResponse>;
263
263
  export declare const MessageService: GenService<{
264
264
  /**
265
265
  * Outbound (unary). Inbound delivery now lives on the cross-channel
266
- * photon.spectrum.v1.EventsService served by spectrum-grpc-fanout — SDK
266
+ * photon.fusor.internal.v1.EventsService served by spectrum-grpc-fanout — SDK
267
267
  * clients connect there for `Subscribe` instead of calling
268
268
  * `SubscribeEvents` / `FetchMissedEvents` here. Slack ingress
269
269
  * (POST /slack/events) still lands on this service's host, but the
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@photon-ai/proto",
3
- "version": "0.0.0",
4
- "description": "Generated TypeScript bindings for photon.slack.v1 and photon.spectrum.v1 gRPC services.",
3
+ "version": "0.1.0",
4
+ "description": "Generated TypeScript bindings for photon.slack.v1 and photon.fusor.v1 gRPC services.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
- "files": ["gen/"],
7
+ "files": [
8
+ "gen/"
9
+ ],
8
10
  "exports": {
9
11
  "./*": {
10
12
  "types": "./gen/*.d.ts",