@tomtom-org/maps-sdk-plugin-agent-toolkit 0.6.0 → 0.6.1

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/README.md CHANGED
@@ -262,9 +262,6 @@ const agent = createMapAgent<MyState>(map, {
262
262
  // Max tool-loop iterations (default: 10)
263
263
  maxSteps: 15,
264
264
 
265
- // Opt into experimental features (subject to change without notice)
266
- featureFlags: { experimentalSearch: true },
267
-
268
265
  // Provider-specific options forwarded to the AI SDK on every step
269
266
  providerOptions: {
270
267
  openai: { reasoningEffort: 'low', reasoningSummary: 'auto' },
package/dist/index.d.ts CHANGED
@@ -2866,12 +2866,16 @@ export declare const packSandboxArgs: (sandbox: SandboxInputs, libs: {
2866
2866
  * sandboxed code. `Places` is a FeatureCollection of Point Features; only the
2867
2867
  * `properties` shape (the TomTom-specific bit) is documented here.
2868
2868
  *
2869
+ * @remarks
2870
+ * Takes {@link FeatureFlags} so a future flag can vary the doc; no flag
2871
+ * currently does, so every caller gets the same text.
2872
+ *
2869
2873
  * @ignore
2870
2874
  */
2871
- export declare const buildPlacesSchemaDoc: (flags: FeatureFlags) => string;
2875
+ export declare const buildPlacesSchemaDoc: (_flags: FeatureFlags) => string;
2872
2876
  /**
2873
- * Default-flag (`experimentalSearch: false`) Places schema doc — preserved as a
2874
- * named constant so non-flag-aware tools keep working.
2877
+ * Places schema doc — preserved as a named constant so non-flag-aware tools
2878
+ * keep working.
2875
2879
  *
2876
2880
  * @ignore
2877
2881
  */
@@ -4327,21 +4331,14 @@ export type Classifier = (context: ClassifierContext) => Promise<ClassificationR
4327
4331
  */
4328
4332
  export type FeatureFlags = {
4329
4333
  /**
4330
- * Route `discoverPlaces` through the experimental exploration search
4331
- * backend (and expose its richer input surface — `municipalities`,
4332
- * multiple `boundingBoxes`, `placeTypes`, `areaId`, `areaTags`). When
4333
- * `false`/unset, `discoverPlaces` uses the stable default search
4334
- * service and a reduced input schema that matches what the default
4335
- * service supports.
4336
- *
4337
- * **Internal experiment.** Not part of the public agent-toolkit
4338
- * contract; subject to removal at any time.
4334
+ * No feature flags are currently defined.
4339
4335
  *
4340
- * @internal
4341
- * @experimental
4342
- * @default false
4336
+ * @remarks
4337
+ * The bag is kept because the tool builders (`ToolEntryBuilder`,
4338
+ * `buildDiscoverPlacesSchema`, …) thread it through as their extension
4339
+ * point for schema and description variation. A future flag is added here.
4343
4340
  */
4344
- experimentalSearch?: boolean;
4341
+ readonly [flag: string]: never;
4345
4342
  };
4346
4343
  /**
4347
4344
  * Build-time options passed to a {@link ToolEntryBuilder}. Lets each tool