@hachej/boring-ask-user 0.1.13 → 0.1.24

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 boringdata
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -2960,13 +2960,13 @@ declare const AskUserAnswerSchema: z.ZodObject<{
2960
2960
  values: z.ZodRecord<z.ZodEffects<z.ZodString, string, string>, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
2961
2961
  submittedAt: z.ZodString;
2962
2962
  }, "strict", z.ZodTypeAny, {
2963
- sessionId: string;
2964
2963
  values: Record<string, string | number | boolean | string[] | null>;
2964
+ sessionId: string;
2965
2965
  questionId: string;
2966
2966
  submittedAt: string;
2967
2967
  }, {
2968
- sessionId: string;
2969
2968
  values: Record<string, string | number | boolean | string[] | null>;
2969
+ sessionId: string;
2970
2970
  questionId: string;
2971
2971
  submittedAt: string;
2972
2972
  }>;
@@ -2978,28 +2978,28 @@ declare const QuestionsSubmitCommandSchema: z.ZodObject<{
2978
2978
  questionId: z.ZodString;
2979
2979
  sessionId: z.ZodString;
2980
2980
  }, "strict", z.ZodTypeAny, {
2981
- sessionId: string;
2982
2981
  values: Record<string, string | number | boolean | string[] | null>;
2982
+ sessionId: string;
2983
2983
  questionId: string;
2984
2984
  answerToken: string;
2985
2985
  }, {
2986
- sessionId: string;
2987
2986
  values: Record<string, string | number | boolean | string[] | null>;
2987
+ sessionId: string;
2988
2988
  questionId: string;
2989
2989
  answerToken: string;
2990
2990
  }>;
2991
2991
  }, "strict", z.ZodTypeAny, {
2992
2992
  params: {
2993
- sessionId: string;
2994
2993
  values: Record<string, string | number | boolean | string[] | null>;
2994
+ sessionId: string;
2995
2995
  questionId: string;
2996
2996
  answerToken: string;
2997
2997
  };
2998
2998
  kind: "questions.submit";
2999
2999
  }, {
3000
3000
  params: {
3001
- sessionId: string;
3002
3001
  values: Record<string, string | number | boolean | string[] | null>;
3002
+ sessionId: string;
3003
3003
  questionId: string;
3004
3004
  answerToken: string;
3005
3005
  };
@@ -3043,28 +3043,28 @@ declare const QuestionsCommandSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObje
3043
3043
  questionId: z.ZodString;
3044
3044
  sessionId: z.ZodString;
3045
3045
  }, "strict", z.ZodTypeAny, {
3046
- sessionId: string;
3047
3046
  values: Record<string, string | number | boolean | string[] | null>;
3047
+ sessionId: string;
3048
3048
  questionId: string;
3049
3049
  answerToken: string;
3050
3050
  }, {
3051
- sessionId: string;
3052
3051
  values: Record<string, string | number | boolean | string[] | null>;
3052
+ sessionId: string;
3053
3053
  questionId: string;
3054
3054
  answerToken: string;
3055
3055
  }>;
3056
3056
  }, "strict", z.ZodTypeAny, {
3057
3057
  params: {
3058
- sessionId: string;
3059
3058
  values: Record<string, string | number | boolean | string[] | null>;
3059
+ sessionId: string;
3060
3060
  questionId: string;
3061
3061
  answerToken: string;
3062
3062
  };
3063
3063
  kind: "questions.submit";
3064
3064
  }, {
3065
3065
  params: {
3066
- sessionId: string;
3067
3066
  values: Record<string, string | number | boolean | string[] | null>;
3067
+ sessionId: string;
3068
3068
  questionId: string;
3069
3069
  answerToken: string;
3070
3070
  };
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@hachej/boring-ask-user",
3
- "version": "0.1.13",
3
+ "version": "0.1.24",
4
4
  "type": "module",
5
5
  "private": false,
6
+ "license": "MIT",
6
7
  "description": "Ask-user plugin for Boring workspace — surfaces agent questions to the user and streams answers back.",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/hachej/boring-ui"
11
+ },
12
+ "homepage": "https://github.com/hachej/boring-ui",
7
13
  "boring": {
8
14
  "id": "ask-user",
9
15
  "label": "Questions",
@@ -36,37 +42,43 @@
36
42
  "./package.json": "./package.json"
37
43
  },
38
44
  "sideEffects": false,
39
- "scripts": {
40
- "build": "pnpm --filter @hachej/boring-ui-kit build && pnpm --filter @hachej/boring-workspace build && tsup",
41
- "typecheck": "pnpm --filter @hachej/boring-ui-kit build && pnpm --filter @hachej/boring-workspace build && tsc --noEmit",
42
- "test": "pnpm --filter @hachej/boring-ui-kit build && vitest run",
43
- "lint": "pnpm run typecheck",
44
- "clean": "rm -rf dist .tsbuildinfo"
45
- },
46
45
  "peerDependencies": {
47
- "@hachej/boring-workspace": "workspace:*",
46
+ "fastify": "^5.3.3",
48
47
  "react": "^18.0.0 || ^19.0.0",
49
- "react-dom": "^18.0.0 || ^19.0.0"
48
+ "react-dom": "^18.0.0 || ^19.0.0",
49
+ "@hachej/boring-workspace": "0.1.24"
50
50
  },
51
51
  "dependencies": {
52
- "@hachej/boring-ui-kit": "workspace:*",
53
- "fastify": "^5.3.3",
54
52
  "lucide-react": "^1.8.0",
55
- "zod": "^3.23.0"
53
+ "zod": "^3.23.0",
54
+ "@hachej/boring-ui-kit": "0.1.24"
56
55
  },
57
56
  "devDependencies": {
58
- "@hachej/boring-workspace": "workspace:*",
59
57
  "@testing-library/jest-dom": "^6.9.1",
60
58
  "@testing-library/react": "^16.3.0",
61
59
  "@types/node": "^22.0.0",
62
60
  "@types/react": "^19.0.0",
63
61
  "@types/react-dom": "^19.0.0",
64
62
  "@vitejs/plugin-react": "^4.0.0",
63
+ "fastify": "^5.3.3",
65
64
  "jsdom": "^29.0.2",
66
65
  "react": "^19.0.0",
67
66
  "react-dom": "^19.0.0",
68
67
  "tsup": "^8.4.0",
69
68
  "typescript": "~5.9.3",
70
- "vitest": "^3.1.3"
69
+ "vitest": "^3.1.3",
70
+ "@hachej/boring-workspace": "0.1.24"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "fastify": {
74
+ "optional": true
75
+ }
76
+ },
77
+ "scripts": {
78
+ "build": "tsup",
79
+ "typecheck": "tsc --noEmit",
80
+ "test": "vitest run",
81
+ "lint": "pnpm run typecheck",
82
+ "clean": "rm -rf dist .tsbuildinfo"
71
83
  }
72
- }
84
+ }