@roll-agent/smart-reply-agent 0.4.0 → 1.1.0

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.
Files changed (43) hide show
  1. package/SKILL.md +25 -37
  2. package/dist/index.js +1 -1
  3. package/dist/services/reply-authority-client.d.ts +2 -0
  4. package/dist/tools/generate-reply.d.ts +31 -43
  5. package/dist/types/candidate-info.d.ts +57 -0
  6. package/dist/types/funnel-stage.d.ts +4 -0
  7. package/dist/types/model-config.d.ts +66 -0
  8. package/dist/types/reply-authority.d.ts +785 -0
  9. package/package.json +2 -16
  10. package/references/env.yaml +6 -26
  11. package/data/brand-config.sample.json +0 -83
  12. package/dist/ai/model-registry.d.ts +0 -103
  13. package/dist/ai/structured-output.d.ts +0 -61
  14. package/dist/errors/app-error.d.ts +0 -42
  15. package/dist/errors/error-codes.d.ts +0 -48
  16. package/dist/errors/error-factory.d.ts +0 -30
  17. package/dist/errors/error-utils.d.ts +0 -39
  18. package/dist/errors/index.d.ts +0 -8
  19. package/dist/log-control.d.ts +0 -2
  20. package/dist/pipeline/age-eligibility.d.ts +0 -94
  21. package/dist/pipeline/candidate-context.d.ts +0 -8
  22. package/dist/pipeline/candidate-utils.d.ts +0 -5
  23. package/dist/pipeline/classification.d.ts +0 -13
  24. package/dist/pipeline/context-builder.d.ts +0 -21
  25. package/dist/pipeline/pipeline-progress.d.ts +0 -9
  26. package/dist/pipeline/reply-gate.d.ts +0 -19
  27. package/dist/pipeline/smart-reply.d.ts +0 -64
  28. package/dist/pipeline.d.ts +0 -21
  29. package/dist/pipeline.js +0 -1
  30. package/dist/services/brand-alias.d.ts +0 -4
  31. package/dist/services/brand-config-selectors.d.ts +0 -7
  32. package/dist/services/config-loader.d.ts +0 -11
  33. package/dist/services/duliday-api.d.ts +0 -30
  34. package/dist/services/duliday-mapper.d.ts +0 -8
  35. package/dist/tools/sync-brand-data.d.ts +0 -11
  36. package/dist/types/brand-resolution.d.ts +0 -83
  37. package/dist/types/classification.d.ts +0 -181
  38. package/dist/types/config.d.ts +0 -3
  39. package/dist/types/duliday-api.d.ts +0 -7197
  40. package/dist/types/geocoding.d.ts +0 -23
  41. package/dist/types/reply-policy.d.ts +0 -1390
  42. package/dist/types/zhipin.d.ts +0 -2196
  43. package/references/reply-policy-schema.md +0 -148
@@ -1,23 +0,0 @@
1
- import { z } from "zod";
2
- import type { Store } from "./zhipin.ts";
3
- export declare const CoordinatesSchema: z.ZodObject<{
4
- lat: z.ZodNumber;
5
- lng: z.ZodNumber;
6
- }, "strip", z.ZodTypeAny, {
7
- lat: number;
8
- lng: number;
9
- }, {
10
- lat: number;
11
- lng: number;
12
- }>;
13
- export type Coordinates = z.infer<typeof CoordinatesSchema>;
14
- export interface StoreWithDistance {
15
- store: Store;
16
- distance?: number | undefined;
17
- }
18
- export declare const CHINA_BOUNDS: {
19
- readonly minLat: 3.86;
20
- readonly maxLat: 53.55;
21
- readonly minLng: 73.66;
22
- readonly maxLng: 135.05;
23
- };