New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@photon-ai/proto

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@photon-ai/proto

Generated TypeScript bindings for photon.slack.v1 and photon.spectrum.v1 gRPC services.

Source
npmnpm
Version
0.0.0
Version published
Weekly downloads
215K
238.36%
Maintainers
3
Weekly downloads
 
Created
Source

@photon-ai/proto

Generated TypeScript bindings for the public Photon gRPC contracts.

Wraps two proto packages:

  • photon.slack.v1 — Slack runtime contract (MessageService, FileService, inbound event variants, file metadata).
  • photon.spectrum.v1 — Cross-channel RawInboundEvent envelope.

Generated with @bufbuild/protoc-gen-es (target=js+dts). Ships schemas + service descriptors only — pair with @connectrpc/connect-node, @connectrpc/connect-web, or @grpc/grpc-js for the transport layer.

Install

npm install @photon-ai/proto

Usage

import { create } from "@bufbuild/protobuf";
import { InboundMessageSchema } from "@photon-ai/proto/photon/slack/v1/common_pb";

const msg = create(InboundMessageSchema, {
  channel: "C012345",
  user: "U67890",
  text: "hello",
});

Source

Definitions live in photon-hq/spectrum-slack-buf. Releases are cut from public/v* git tags.

License

MIT — see LICENSE.

FAQs

Package last updated on 24 May 2026

Related posts