@poncho-ai/sdk 1.0.2 → 1.0.3

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/sdk@1.0.2 build /home/runner/work/poncho-ai/poncho-ai/packages/sdk
2
+ > @poncho-ai/sdk@1.0.3 build /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
3
3
  > tsup src/index.ts --format esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -7,8 +7,8 @@
7
7
  CLI tsup v8.5.1
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
- ESM dist/index.js 9.72 KB
11
- ESM ⚡️ Build success in 17ms
10
+ ESM dist/index.js 10.17 KB
11
+ ESM ⚡️ Build success in 46ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 1275ms
14
- DTS dist/index.d.ts 18.25 KB
13
+ DTS ⚡️ Build success in 1504ms
14
+ DTS dist/index.d.ts 18.86 KB
@@ -0,0 +1,6 @@
1
+
2
+ > @poncho-ai/sdk@0.6.0 lint /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
3
+ > eslint src/
4
+
5
+ sh: eslint: command not found
6
+  ELIFECYCLE  Command failed.
@@ -0,0 +1,14 @@
1
+
2
+ > @poncho-ai/sdk@1.0.1 test /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
3
+ > vitest
4
+
5
+
6
+  RUN  v1.6.1 /Users/cesar/Dev/latitude/poncho-ai/packages/sdk
7
+
8
+ ✓ test/sdk.test.ts  (1 test) 1ms
9
+
10
+  Test Files  1 passed (1)
11
+  Tests  1 passed (1)
12
+  Start at  09:39:17
13
+  Duration  477ms (transform 131ms, setup 0ms, collect 143ms, tests 1ms, environment 0ms, prepare 103ms)
14
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/sdk
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1f47bb4`](https://github.com/cesr/poncho-ai/commit/1f47bb49e5d48dc17644172012b057190b316469) Thanks [@cesr](https://github.com/cesr)! - Add conversation rename via double-click on the title in the web UI, standardize all credential config fields to the `*Env` naming pattern, and sync the init README template with the repo README.
8
+
3
9
  ## 1.0.2
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -136,29 +136,47 @@ declare const ONBOARDING_FIELDS: readonly [{
136
136
  readonly envVars: ["PONCHO_DYNAMODB_TABLE"];
137
137
  }];
138
138
  }, {
139
- readonly id: "storage.url";
139
+ readonly id: "env.REDIS_URL";
140
140
  readonly domain: "storage";
141
- readonly target: "config";
142
- readonly path: "storage.url";
141
+ readonly target: "env";
142
+ readonly path: "REDIS_URL";
143
143
  readonly kind: "string";
144
144
  readonly scopes: ["full"];
145
- readonly label: "Storage URL";
146
- readonly prompt: "Storage URL";
145
+ readonly label: "Redis URL";
146
+ readonly prompt: "Redis connection URL";
147
147
  readonly defaultValue: "";
148
+ readonly placeholder: "redis://localhost:6379";
149
+ readonly secret: true;
148
150
  readonly dependsOn: {
149
151
  readonly fieldId: "storage.provider";
150
- readonly oneOf: ["redis", "upstash"];
152
+ readonly equals: "redis";
151
153
  };
152
154
  }, {
153
- readonly id: "storage.token";
155
+ readonly id: "env.UPSTASH_REDIS_REST_URL";
154
156
  readonly domain: "storage";
155
- readonly target: "config";
156
- readonly path: "storage.token";
157
+ readonly target: "env";
158
+ readonly path: "UPSTASH_REDIS_REST_URL";
159
+ readonly kind: "string";
160
+ readonly scopes: ["full"];
161
+ readonly label: "Upstash REST URL";
162
+ readonly prompt: "Upstash Redis REST URL";
163
+ readonly defaultValue: "";
164
+ readonly placeholder: "https://...";
165
+ readonly dependsOn: {
166
+ readonly fieldId: "storage.provider";
167
+ readonly equals: "upstash";
168
+ };
169
+ }, {
170
+ readonly id: "env.UPSTASH_REDIS_REST_TOKEN";
171
+ readonly domain: "storage";
172
+ readonly target: "env";
173
+ readonly path: "UPSTASH_REDIS_REST_TOKEN";
157
174
  readonly kind: "string";
158
175
  readonly scopes: ["full"];
159
- readonly label: "Storage token";
160
- readonly prompt: "Storage token";
176
+ readonly label: "Upstash REST token";
177
+ readonly prompt: "Upstash Redis REST token";
161
178
  readonly defaultValue: "";
179
+ readonly secret: true;
162
180
  readonly dependsOn: {
163
181
  readonly fieldId: "storage.provider";
164
182
  readonly equals: "upstash";
package/dist/index.js CHANGED
@@ -88,27 +88,43 @@ var ONBOARDING_FIELDS = [
88
88
  ]
89
89
  },
90
90
  {
91
- id: "storage.url",
91
+ id: "env.REDIS_URL",
92
92
  domain: "storage",
93
- target: "config",
94
- path: "storage.url",
93
+ target: "env",
94
+ path: "REDIS_URL",
95
95
  kind: "string",
96
96
  scopes: ["full"],
97
- label: "Storage URL",
98
- prompt: "Storage URL",
97
+ label: "Redis URL",
98
+ prompt: "Redis connection URL",
99
99
  defaultValue: "",
100
- dependsOn: { fieldId: "storage.provider", oneOf: ["redis", "upstash"] }
100
+ placeholder: "redis://localhost:6379",
101
+ secret: true,
102
+ dependsOn: { fieldId: "storage.provider", equals: "redis" }
101
103
  },
102
104
  {
103
- id: "storage.token",
105
+ id: "env.UPSTASH_REDIS_REST_URL",
104
106
  domain: "storage",
105
- target: "config",
106
- path: "storage.token",
107
+ target: "env",
108
+ path: "UPSTASH_REDIS_REST_URL",
109
+ kind: "string",
110
+ scopes: ["full"],
111
+ label: "Upstash REST URL",
112
+ prompt: "Upstash Redis REST URL",
113
+ defaultValue: "",
114
+ placeholder: "https://...",
115
+ dependsOn: { fieldId: "storage.provider", equals: "upstash" }
116
+ },
117
+ {
118
+ id: "env.UPSTASH_REDIS_REST_TOKEN",
119
+ domain: "storage",
120
+ target: "env",
121
+ path: "UPSTASH_REDIS_REST_TOKEN",
107
122
  kind: "string",
108
123
  scopes: ["full"],
109
- label: "Storage token",
110
- prompt: "Storage token",
124
+ label: "Upstash REST token",
125
+ prompt: "Upstash Redis REST token",
111
126
  defaultValue: "",
127
+ secret: true,
112
128
  dependsOn: { fieldId: "storage.provider", equals: "upstash" }
113
129
  },
114
130
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Core types and utilities for building Poncho skills",
5
5
  "repository": {
6
6
  "type": "git",
@@ -133,27 +133,43 @@ export const ONBOARDING_FIELDS = [
133
133
  ],
134
134
  },
135
135
  {
136
- id: "storage.url",
136
+ id: "env.REDIS_URL",
137
137
  domain: "storage",
138
- target: "config",
139
- path: "storage.url",
138
+ target: "env",
139
+ path: "REDIS_URL",
140
140
  kind: "string",
141
141
  scopes: ["full"],
142
- label: "Storage URL",
143
- prompt: "Storage URL",
142
+ label: "Redis URL",
143
+ prompt: "Redis connection URL",
144
144
  defaultValue: "",
145
- dependsOn: { fieldId: "storage.provider", oneOf: ["redis", "upstash"] },
145
+ placeholder: "redis://localhost:6379",
146
+ secret: true,
147
+ dependsOn: { fieldId: "storage.provider", equals: "redis" },
146
148
  },
147
149
  {
148
- id: "storage.token",
150
+ id: "env.UPSTASH_REDIS_REST_URL",
149
151
  domain: "storage",
150
- target: "config",
151
- path: "storage.token",
152
+ target: "env",
153
+ path: "UPSTASH_REDIS_REST_URL",
154
+ kind: "string",
155
+ scopes: ["full"],
156
+ label: "Upstash REST URL",
157
+ prompt: "Upstash Redis REST URL",
158
+ defaultValue: "",
159
+ placeholder: "https://...",
160
+ dependsOn: { fieldId: "storage.provider", equals: "upstash" },
161
+ },
162
+ {
163
+ id: "env.UPSTASH_REDIS_REST_TOKEN",
164
+ domain: "storage",
165
+ target: "env",
166
+ path: "UPSTASH_REDIS_REST_TOKEN",
152
167
  kind: "string",
153
168
  scopes: ["full"],
154
- label: "Storage token",
155
- prompt: "Storage token",
169
+ label: "Upstash REST token",
170
+ prompt: "Upstash Redis REST token",
156
171
  defaultValue: "",
172
+ secret: true,
157
173
  dependsOn: { fieldId: "storage.provider", equals: "upstash" },
158
174
  },
159
175
  {