@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.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +6 -0
- package/.turbo/turbo-test.log +14 -0
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +29 -11
- package/dist/index.js +27 -11
- package/package.json +1 -1
- package/src/config-registry.ts +27 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/sdk@1.0.
|
|
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
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m10.17 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 46ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m18.
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 1504ms
|
|
14
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m18.86 KB[39m
|
|
@@ -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
|
+
[7m[1m[36m RUN [39m[22m[27m [36mv1.6.1[39m [90m/Users/cesar/Dev/latitude/poncho-ai/packages/sdk[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m test/sdk.test.ts [2m ([22m[2m1 test[22m[2m)[22m[90m 1[2mms[22m[39m
|
|
9
|
+
|
|
10
|
+
[2m Test Files [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
11
|
+
[2m Tests [22m [1m[32m1 passed[39m[22m[90m (1)[39m
|
|
12
|
+
[2m Start at [22m 09:39:17
|
|
13
|
+
[2m Duration [22m 477ms[2m (transform 131ms, setup 0ms, collect 143ms, tests 1ms, environment 0ms, prepare 103ms)[22m
|
|
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: "
|
|
139
|
+
readonly id: "env.REDIS_URL";
|
|
140
140
|
readonly domain: "storage";
|
|
141
|
-
readonly target: "
|
|
142
|
-
readonly path: "
|
|
141
|
+
readonly target: "env";
|
|
142
|
+
readonly path: "REDIS_URL";
|
|
143
143
|
readonly kind: "string";
|
|
144
144
|
readonly scopes: ["full"];
|
|
145
|
-
readonly label: "
|
|
146
|
-
readonly prompt: "
|
|
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
|
|
152
|
+
readonly equals: "redis";
|
|
151
153
|
};
|
|
152
154
|
}, {
|
|
153
|
-
readonly id: "
|
|
155
|
+
readonly id: "env.UPSTASH_REDIS_REST_URL";
|
|
154
156
|
readonly domain: "storage";
|
|
155
|
-
readonly target: "
|
|
156
|
-
readonly path: "
|
|
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: "
|
|
160
|
-
readonly prompt: "
|
|
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: "
|
|
91
|
+
id: "env.REDIS_URL",
|
|
92
92
|
domain: "storage",
|
|
93
|
-
target: "
|
|
94
|
-
path: "
|
|
93
|
+
target: "env",
|
|
94
|
+
path: "REDIS_URL",
|
|
95
95
|
kind: "string",
|
|
96
96
|
scopes: ["full"],
|
|
97
|
-
label: "
|
|
98
|
-
prompt: "
|
|
97
|
+
label: "Redis URL",
|
|
98
|
+
prompt: "Redis connection URL",
|
|
99
99
|
defaultValue: "",
|
|
100
|
-
|
|
100
|
+
placeholder: "redis://localhost:6379",
|
|
101
|
+
secret: true,
|
|
102
|
+
dependsOn: { fieldId: "storage.provider", equals: "redis" }
|
|
101
103
|
},
|
|
102
104
|
{
|
|
103
|
-
id: "
|
|
105
|
+
id: "env.UPSTASH_REDIS_REST_URL",
|
|
104
106
|
domain: "storage",
|
|
105
|
-
target: "
|
|
106
|
-
path: "
|
|
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: "
|
|
110
|
-
prompt: "
|
|
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
package/src/config-registry.ts
CHANGED
|
@@ -133,27 +133,43 @@ export const ONBOARDING_FIELDS = [
|
|
|
133
133
|
],
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
|
-
id: "
|
|
136
|
+
id: "env.REDIS_URL",
|
|
137
137
|
domain: "storage",
|
|
138
|
-
target: "
|
|
139
|
-
path: "
|
|
138
|
+
target: "env",
|
|
139
|
+
path: "REDIS_URL",
|
|
140
140
|
kind: "string",
|
|
141
141
|
scopes: ["full"],
|
|
142
|
-
label: "
|
|
143
|
-
prompt: "
|
|
142
|
+
label: "Redis URL",
|
|
143
|
+
prompt: "Redis connection URL",
|
|
144
144
|
defaultValue: "",
|
|
145
|
-
|
|
145
|
+
placeholder: "redis://localhost:6379",
|
|
146
|
+
secret: true,
|
|
147
|
+
dependsOn: { fieldId: "storage.provider", equals: "redis" },
|
|
146
148
|
},
|
|
147
149
|
{
|
|
148
|
-
id: "
|
|
150
|
+
id: "env.UPSTASH_REDIS_REST_URL",
|
|
149
151
|
domain: "storage",
|
|
150
|
-
target: "
|
|
151
|
-
path: "
|
|
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: "
|
|
155
|
-
prompt: "
|
|
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
|
{
|