@forwardimpact/guide 0.1.8 → 0.1.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/guide",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "description": "Conversational agent for engineering framework guidance — How do I find my bearing?",
5
5
  "license": "Apache-2.0",
6
6
  "author": "D. Olsson <hi@senzilla.io>",
@@ -25,20 +25,29 @@
25
25
  "fit-guide": "./bin/fit-guide.js"
26
26
  },
27
27
  "files": [
28
- "bin/"
28
+ "bin/",
29
+ "proto/"
29
30
  ],
30
31
  "engines": {
31
32
  "bun": ">=1.2.0",
32
33
  "node": ">=18.0.0"
33
34
  },
34
35
  "dependencies": {
36
+ "@forwardimpact/libcodegen": "^0.1.32",
35
37
  "@forwardimpact/libconfig": "^0.1.58",
36
38
  "@forwardimpact/librepl": "^0.1.0",
37
- "@forwardimpact/libutil": "^0.1.64",
38
39
  "@forwardimpact/librpc": "^0.1.77",
39
40
  "@forwardimpact/libstorage": "^0.1.53",
40
41
  "@forwardimpact/libtelemetry": "^0.1.22",
41
- "@forwardimpact/libtype": "^0.1.63"
42
+ "@forwardimpact/libtype": "^0.1.63",
43
+ "@forwardimpact/libutil": "^0.1.64",
44
+ "@forwardimpact/svcagent": "^0.1.113",
45
+ "@forwardimpact/svcgraph": "^0.1.60",
46
+ "@forwardimpact/svcllm": "^0.1.96",
47
+ "@forwardimpact/svcmemory": "^0.1.87",
48
+ "@forwardimpact/svctool": "^0.1.91",
49
+ "@forwardimpact/svctrace": "^0.1.34",
50
+ "@forwardimpact/svcvector": "^0.1.111"
42
51
  },
43
52
  "publishConfig": {
44
53
  "access": "public"
@@ -0,0 +1,64 @@
1
+ syntax = "proto3";
2
+
3
+ package common;
4
+
5
+ import "resource.proto";
6
+ import "tool.proto";
7
+
8
+ message Empty {
9
+ bool void = 1;
10
+ }
11
+
12
+ message Usage {
13
+ int32 prompt_tokens = 1;
14
+ int32 completion_tokens = 2;
15
+ int32 total_tokens = 3;
16
+ }
17
+
18
+ message Choice {
19
+ int32 index = 1;
20
+ Message message = 2;
21
+ optional string finish_reason = 3;
22
+ }
23
+
24
+ message Embedding {
25
+ string object = 1;
26
+ int32 index = 2;
27
+ repeated float embedding = 3;
28
+ }
29
+
30
+ message Embeddings {
31
+ string object = 1;
32
+ repeated Embedding data = 2;
33
+ string model = 3;
34
+ Usage usage = 4;
35
+ }
36
+
37
+ message Conversation {
38
+ resource.Identifier id = 1;
39
+ optional string agent_id = 2;
40
+ }
41
+
42
+ message Message {
43
+ resource.Identifier id = 1;
44
+ string role = 2;
45
+ string content = 3;
46
+ repeated tool.ToolCall tool_calls = 4;
47
+ optional string tool_call_id = 5;
48
+ }
49
+
50
+ message Handoff {
51
+ string label = 1;
52
+ string agent = 2;
53
+ string prompt = 3;
54
+ }
55
+
56
+ message Agent {
57
+ resource.Identifier id = 1;
58
+ string name = 2;
59
+ string description = 3;
60
+ bool infer = 4;
61
+ repeated string tools = 5;
62
+ repeated Handoff handoffs = 6;
63
+ string content = 7;
64
+ }
@@ -0,0 +1,14 @@
1
+ syntax = "proto3";
2
+
3
+ package resource;
4
+
5
+ message Identifier {
6
+ string type = 1;
7
+ string name = 2;
8
+ string parent = 3;
9
+ repeated string subjects = 4;
10
+
11
+ // In vector searches, values will be populated from the content.
12
+ optional int32 tokens = 5;
13
+ optional double score = 6;
14
+ }