mmt-mcp 1.46.3-pre → 1.46.4-pre

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 (65) hide show
  1. package/dist/examples/examples-index.json +251 -0
  2. package/dist/examples/intermediate/12_dynamic_values/README.md +5 -4
  3. package/dist/examples/intermediate/12_dynamic_values/api/current.mmt +5 -7
  4. package/dist/examples/intermediate/12_dynamic_values/current_test.mmt +2 -4
  5. package/dist/examples/professional/11_token_resolution/README.md +1 -1
  6. package/dist/examples/professional/11_token_resolution/api/current_header.mmt +7 -10
  7. package/dist/examples/professional/11_token_resolution/api/current_json_body.mmt +9 -12
  8. package/dist/examples/professional/11_token_resolution/api/current_query.mmt +7 -10
  9. package/dist/examples/professional/11_token_resolution/api/current_urlencoded_body.mmt +7 -10
  10. package/dist/examples/professional/11_token_resolution/api/current_xml_body.mmt +7 -10
  11. package/dist/examples/professional/11_token_resolution/test/current_header_test.mmt +2 -4
  12. package/dist/examples/professional/11_token_resolution/test/current_json_body_test.mmt +2 -4
  13. package/dist/examples/professional/11_token_resolution/test/current_query_test.mmt +2 -4
  14. package/dist/examples/professional/11_token_resolution/test/current_urlencoded_body_test.mmt +2 -4
  15. package/dist/examples/professional/11_token_resolution/test/current_xml_body_test.mmt +2 -4
  16. package/dist/examples/real-projects/README.md +4 -0
  17. package/dist/examples/real-projects/countryinfo-soap-mmt/README.md +41 -0
  18. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/README.md +80 -0
  19. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/capital_city.mmt +27 -0
  20. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/countries_using_currency.mmt +29 -0
  21. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/country_currency.mmt +28 -0
  22. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/country_flag.mmt +27 -0
  23. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/country_iso_code.mmt +27 -0
  24. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/country_name.mmt +27 -0
  25. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/country_phone_code.mmt +27 -0
  26. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/currency_name.mmt +23 -0
  27. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/full_country_info.mmt +30 -0
  28. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/list_continents_by_code.mmt +21 -0
  29. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/list_continents_by_name.mmt +23 -0
  30. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/api/list_country_names_by_code.mmt +21 -0
  31. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/multimeter.mmt +47 -0
  32. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/suite.mmt +9 -0
  33. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/continents/suite.mmt +6 -0
  34. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/continents/test_continents_by_code.mmt +12 -0
  35. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/continents/test_continents_by_name.mmt +14 -0
  36. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/suite.mmt +9 -0
  37. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_countries_using_eur.mmt +14 -0
  38. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_countries_using_usd.mmt +14 -0
  39. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_eur.mmt +13 -0
  40. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_jpy.mmt +13 -0
  41. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_usd.mmt +13 -0
  42. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/suite.mmt +11 -0
  43. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_currency_de.mmt +14 -0
  44. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_currency_jp.mmt +14 -0
  45. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_flag_it.mmt +13 -0
  46. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_fr.mmt +20 -0
  47. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_jp.mmt +20 -0
  48. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_us.mmt +20 -0
  49. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/details/test_phone_gb.mmt +13 -0
  50. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lists/suite.mmt +5 -0
  51. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lists/test_country_names_by_code.mmt +12 -0
  52. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/suite.mmt +12 -0
  53. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_capital_au.mmt +13 -0
  54. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_capital_de.mmt +13 -0
  55. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_br.mmt +13 -0
  56. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_jp.mmt +13 -0
  57. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_us.mmt +13 -0
  58. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_iso_code_france.mmt +13 -0
  59. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_iso_code_germany.mmt +13 -0
  60. package/dist/examples/real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_roundtrip_italy.mmt +23 -0
  61. package/dist/guides/general.md +1 -1
  62. package/dist/guides/generate-api.md +1 -1
  63. package/dist/server.cjs +5 -12
  64. package/dist/server.js +5 -12
  65. package/package.json +1 -1
@@ -2349,6 +2349,257 @@
2349
2349
  "category": "professional",
2350
2350
  "title": "Random token resolution (XML body)"
2351
2351
  },
2352
+ {
2353
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/capital_city.mmt",
2354
+ "type": "api",
2355
+ "category": "real-projects",
2356
+ "title": "CapitalCity"
2357
+ },
2358
+ {
2359
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/countries_using_currency.mmt",
2360
+ "type": "api",
2361
+ "category": "real-projects",
2362
+ "title": "CountriesUsingCurrency"
2363
+ },
2364
+ {
2365
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/country_currency.mmt",
2366
+ "type": "api",
2367
+ "category": "real-projects",
2368
+ "title": "CountryCurrency"
2369
+ },
2370
+ {
2371
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/country_flag.mmt",
2372
+ "type": "api",
2373
+ "category": "real-projects",
2374
+ "title": "CountryFlag"
2375
+ },
2376
+ {
2377
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/country_iso_code.mmt",
2378
+ "type": "api",
2379
+ "category": "real-projects",
2380
+ "title": "CountryISOCode"
2381
+ },
2382
+ {
2383
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/country_name.mmt",
2384
+ "type": "api",
2385
+ "category": "real-projects",
2386
+ "title": "CountryName"
2387
+ },
2388
+ {
2389
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/country_phone_code.mmt",
2390
+ "type": "api",
2391
+ "category": "real-projects",
2392
+ "title": "CountryIntPhoneCode"
2393
+ },
2394
+ {
2395
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/currency_name.mmt",
2396
+ "type": "api",
2397
+ "category": "real-projects",
2398
+ "title": "CurrencyName"
2399
+ },
2400
+ {
2401
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/full_country_info.mmt",
2402
+ "type": "api",
2403
+ "category": "real-projects",
2404
+ "title": "FullCountryInfo"
2405
+ },
2406
+ {
2407
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/list_continents_by_code.mmt",
2408
+ "type": "api",
2409
+ "category": "real-projects",
2410
+ "title": "ListOfContinentsByCode"
2411
+ },
2412
+ {
2413
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/list_continents_by_name.mmt",
2414
+ "type": "api",
2415
+ "category": "real-projects",
2416
+ "title": "ListOfContinentsByName"
2417
+ },
2418
+ {
2419
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/api/list_country_names_by_code.mmt",
2420
+ "type": "api",
2421
+ "category": "real-projects",
2422
+ "title": "ListOfCountryNamesByCode"
2423
+ },
2424
+ {
2425
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/multimeter.mmt",
2426
+ "type": "env",
2427
+ "category": "real-projects"
2428
+ },
2429
+ {
2430
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/suite.mmt",
2431
+ "type": "suite",
2432
+ "category": "real-projects",
2433
+ "title": "CountryInfo SOAP (all)"
2434
+ },
2435
+ {
2436
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/continents/suite.mmt",
2437
+ "type": "suite",
2438
+ "category": "real-projects",
2439
+ "title": "Continents"
2440
+ },
2441
+ {
2442
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/continents/test_continents_by_code.mmt",
2443
+ "type": "test",
2444
+ "category": "real-projects",
2445
+ "title": "ListOfContinentsByCode"
2446
+ },
2447
+ {
2448
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/continents/test_continents_by_name.mmt",
2449
+ "type": "test",
2450
+ "category": "real-projects",
2451
+ "title": "ListOfContinentsByName"
2452
+ },
2453
+ {
2454
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/suite.mmt",
2455
+ "type": "suite",
2456
+ "category": "real-projects",
2457
+ "title": "Currency"
2458
+ },
2459
+ {
2460
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_countries_using_eur.mmt",
2461
+ "type": "test",
2462
+ "category": "real-projects",
2463
+ "title": "CountriesUsingCurrency — EUR"
2464
+ },
2465
+ {
2466
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_countries_using_usd.mmt",
2467
+ "type": "test",
2468
+ "category": "real-projects",
2469
+ "title": "CountriesUsingCurrency — USD"
2470
+ },
2471
+ {
2472
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_eur.mmt",
2473
+ "type": "test",
2474
+ "category": "real-projects",
2475
+ "title": "CurrencyName — EUR"
2476
+ },
2477
+ {
2478
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_jpy.mmt",
2479
+ "type": "test",
2480
+ "category": "real-projects",
2481
+ "title": "CurrencyName — JPY"
2482
+ },
2483
+ {
2484
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/currency/test_currency_name_usd.mmt",
2485
+ "type": "test",
2486
+ "category": "real-projects",
2487
+ "title": "CurrencyName — USD"
2488
+ },
2489
+ {
2490
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/suite.mmt",
2491
+ "type": "suite",
2492
+ "category": "real-projects",
2493
+ "title": "Details"
2494
+ },
2495
+ {
2496
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_currency_de.mmt",
2497
+ "type": "test",
2498
+ "category": "real-projects",
2499
+ "title": "CountryCurrency — Germany"
2500
+ },
2501
+ {
2502
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_currency_jp.mmt",
2503
+ "type": "test",
2504
+ "category": "real-projects",
2505
+ "title": "CountryCurrency — Japan"
2506
+ },
2507
+ {
2508
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_flag_it.mmt",
2509
+ "type": "test",
2510
+ "category": "real-projects",
2511
+ "title": "CountryFlag — Italy"
2512
+ },
2513
+ {
2514
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_fr.mmt",
2515
+ "type": "test",
2516
+ "category": "real-projects",
2517
+ "title": "FullCountryInfo — France"
2518
+ },
2519
+ {
2520
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_jp.mmt",
2521
+ "type": "test",
2522
+ "category": "real-projects",
2523
+ "title": "FullCountryInfo — Japan"
2524
+ },
2525
+ {
2526
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_full_us.mmt",
2527
+ "type": "test",
2528
+ "category": "real-projects",
2529
+ "title": "FullCountryInfo — United States"
2530
+ },
2531
+ {
2532
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/details/test_phone_gb.mmt",
2533
+ "type": "test",
2534
+ "category": "real-projects",
2535
+ "title": "CountryIntPhoneCode — United Kingdom"
2536
+ },
2537
+ {
2538
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lists/suite.mmt",
2539
+ "type": "suite",
2540
+ "category": "real-projects",
2541
+ "title": "Lists"
2542
+ },
2543
+ {
2544
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lists/test_country_names_by_code.mmt",
2545
+ "type": "test",
2546
+ "category": "real-projects",
2547
+ "title": "ListOfCountryNamesByCode"
2548
+ },
2549
+ {
2550
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/suite.mmt",
2551
+ "type": "suite",
2552
+ "category": "real-projects",
2553
+ "title": "Lookup"
2554
+ },
2555
+ {
2556
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_capital_au.mmt",
2557
+ "type": "test",
2558
+ "category": "real-projects",
2559
+ "title": "CapitalCity — Australia"
2560
+ },
2561
+ {
2562
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_capital_de.mmt",
2563
+ "type": "test",
2564
+ "category": "real-projects",
2565
+ "title": "CapitalCity — Germany"
2566
+ },
2567
+ {
2568
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_br.mmt",
2569
+ "type": "test",
2570
+ "category": "real-projects",
2571
+ "title": "CountryName — Brazil"
2572
+ },
2573
+ {
2574
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_jp.mmt",
2575
+ "type": "test",
2576
+ "category": "real-projects",
2577
+ "title": "CountryName — Japan"
2578
+ },
2579
+ {
2580
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_country_name_us.mmt",
2581
+ "type": "test",
2582
+ "category": "real-projects",
2583
+ "title": "CountryName — United States"
2584
+ },
2585
+ {
2586
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_iso_code_france.mmt",
2587
+ "type": "test",
2588
+ "category": "real-projects",
2589
+ "title": "CountryISOCode — France"
2590
+ },
2591
+ {
2592
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_iso_code_germany.mmt",
2593
+ "type": "test",
2594
+ "category": "real-projects",
2595
+ "title": "CountryISOCode — Germany"
2596
+ },
2597
+ {
2598
+ "path": "real-projects/countryinfo-soap-mmt/multimeter/test/lookup/test_roundtrip_italy.mmt",
2599
+ "type": "test",
2600
+ "category": "real-projects",
2601
+ "title": "Round-trip — Italy name ↔ ISO"
2602
+ },
2352
2603
  {
2353
2604
  "path": "real-projects/open-meteo-mmt/multimeter/api/air_quality.mmt",
2354
2605
  "type": "api",
@@ -31,7 +31,7 @@ Random tokens are split by kind. Current tokens live in their own test. Nearby r
31
31
  | `api/random_network.mmt` | `r:domain`, `r:url`, `r:mac`, `r:ip`, `r:hostname`, `r:user_agent` |
32
32
  | `api/random_identity.mmt` | `r:email`, names, address, company, and text tokens |
33
33
  | `api/random_time.mmt` | Ranged and near-now datetimes/epochs, plus `c:` times for proximity |
34
- | `api/current.mmt` | `c:utc_datetime`, offsets, date/time/epoch/timezone, plus `c:git_*` (branch, commit, tag, describe, dirty) |
34
+ | `api/current.mmt` | `c:utc_datetime`, offsets, date/time/epoch/timezone, plus git currents (`c:branch`, `c:commit`, `c:tag`, `c:git_describe`, `c:git_dirty`) |
35
35
  | `*_test.mmt` | Calls the matching API and validates the echoed values |
36
36
  | `suite.mmt` | Runs every dynamic-values test together |
37
37
 
@@ -46,8 +46,9 @@ body:
46
46
  datetime_near_now: r:utc_datetime_now(2s)
47
47
  created_utc: c:utc_datetime
48
48
  created_utc_plus_2s: c:utc_datetime(+2s)
49
- git_commit: c:git_commit
50
- git_branch: c:git_branch
49
+ git_commit: c:commit
50
+ git_commit_short: c:commit_short
51
+ git_branch: c:branch
51
52
  git_dirty: c:git_dirty
52
53
  ```
53
54
 
@@ -64,7 +65,7 @@ body:
64
65
  - **Local vs UTC** — `r:datetime` / `c:datetime` use local time; `r:utc_datetime` / `c:utc_datetime` use UTC and end in `Z`.
65
66
  - **Ranges around now** accept combined durations such as `2s` or `1h1m`.
66
67
  - **Current offsets** use a signed duration: `c:utc_datetime(+2s)`, `c:date(+7d)`.
67
- - **Git currents** — `c:git_branch`, `c:git_commit` (short), `c:git_commit_hash`, `c:git_tag`, `c:git_describe`, `c:git_dirty`. Short aliases: `c:branch`, `c:commit`, `c:tag`. Empty / `false` when git is unavailable.
68
+ - **Git currents** — `c:branch`, `c:commit` (full SHA), `c:commit_short`, `c:tag`, `c:git_describe`, `c:git_dirty`. Empty / `false` when git is unavailable.
68
69
  - **Time comparison** — `=5s~` / `!5s~` check that two times differ by at most (or more than) the velocity. A duration is required; bare `=~` is the deprecated as-string operator.
69
70
  - **No JS required** — tokens can be used directly in API `body`, `headers`, `query`, `cookies`, `url`, and input defaults.
70
71
 
@@ -14,11 +14,10 @@ outputs:
14
14
  year: body.body.year
15
15
  git_branch: body.body.git_branch
16
16
  git_commit: body.body.git_commit
17
- git_commit_hash: body.body.git_commit_hash
17
+ git_commit_short: body.body.git_commit_short
18
18
  git_tag: body.body.git_tag
19
19
  git_describe: body.body.git_describe
20
20
  git_dirty: body.body.git_dirty
21
- commit_alias: body.body.commit_alias
22
21
  request_method: body.method
23
22
  url: https://test.mmt.dev/echo
24
23
  method: post
@@ -33,10 +32,9 @@ body:
33
32
  timezone: c:timezone
34
33
  utc_offset: c:utc_offset
35
34
  year: c:year
36
- git_branch: c:git_branch
37
- git_commit: c:git_commit
38
- git_commit_hash: c:git_commit_hash
39
- git_tag: c:git_tag
35
+ git_branch: c:branch
36
+ git_commit: c:commit
37
+ git_commit_short: c:commit_short
38
+ git_tag: c:tag
40
39
  git_describe: c:git_describe
41
40
  git_dirty: c:git_dirty
42
- commit_alias: c:commit
@@ -19,12 +19,10 @@ steps:
19
19
  utc_offset: != null
20
20
  year: >= 2026
21
21
  git_branch: != null
22
- git_commit: =* ^([0-9a-f]{8})?$
23
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
22
+ git_commit: =* ^([0-9a-f]{40})?$
23
+ git_commit_short: =* ^([0-9a-f]{8})?$
24
24
  git_tag: != null
25
25
  git_describe: != null
26
26
  git_dirty: != null
27
- commit_alias: c:git_commit
28
27
  - check: ${result.created_utc} =5s~ ${result.created_utc_plus_2s}
29
28
  - check: ${result.created_utc} !5s~ ${result.created_utc_plus_1h}
30
- - check: ${result.commit_alias} == ${result.git_commit}
@@ -57,7 +57,7 @@ JSON is the only format here that still shows `plan_code` as the number `10` and
57
57
  | `api/random_urlencoded_body.mmt` | `r:` as form text |
58
58
  | `api/random_header.mmt` | `r:` as header text (`r:color` stays a name) |
59
59
  | `api/random_query.mmt` | `r:` as query text |
60
- | `api/current_json_body.mmt` | `c:day` / `c:city` text, `c:epoch` number, `c:git_*` (dirty boolean) |
60
+ | `api/current_json_body.mmt` | `c:day` / `c:city` text, `c:epoch` number, `c:branch` / `c:commit` / `c:git_dirty` (boolean) |
61
61
  | `api/current_xml_body.mmt` | `c:` (incl. git) as XML text |
62
62
  | `api/current_urlencoded_body.mmt` | `c:` (incl. git) as form text |
63
63
  | `api/current_header.mmt` | `c:` (incl. git) as header text |
@@ -7,10 +7,9 @@ outputs:
7
7
  city: body[headers][x-city]
8
8
  git_branch: body[headers][x-git-branch]
9
9
  git_commit: body[headers][x-git-commit]
10
- git_commit_hash: body[headers][x-git-commit-hash]
10
+ git_commit_short: body[headers][x-git-commit-short]
11
11
  git_describe: body[headers][x-git-describe]
12
12
  git_dirty: body[headers][x-git-dirty]
13
- commit_alias: body[headers][x-commit-alias]
14
13
  missing_token: body[headers][x-missing-token]
15
14
  literal_token: body[headers][x-literal-token]
16
15
  literal_omit: body[headers][x-literal-omit]
@@ -30,12 +29,11 @@ headers:
30
29
  X-Day-Name: c:day
31
30
  X-Epoch-Seconds: c:epoch
32
31
  X-City: c:city
33
- X-Git-Branch: c:git_branch
34
- X-Git-Commit: c:git_commit
35
- X-Git-Commit-Hash: c:git_commit_hash
32
+ X-Git-Branch: c:branch
33
+ X-Git-Commit: c:commit
34
+ X-Git-Commit-Short: c:commit_short
36
35
  X-Git-Describe: c:git_describe
37
36
  X-Git-Dirty: c:git_dirty
38
- X-Commit-Alias: c:commit
39
37
  X-Missing-Token: c:not_a_token
40
38
  X-Literal-Token: "c:day"
41
39
  X-Literal-Omit: "omit"
@@ -56,12 +54,11 @@ examples:
56
54
  day_name: c:day
57
55
  epoch_seconds: != null
58
56
  city: c:city
59
- git_branch: c:git_branch
60
- git_commit: c:git_commit
61
- git_commit_hash: c:git_commit_hash
57
+ git_branch: c:branch
58
+ git_commit: c:commit
59
+ git_commit_short: c:commit_short
62
60
  git_describe: c:git_describe
63
61
  git_dirty: c:git_dirty
64
- commit_alias: c:commit
65
62
  missing_token: "c:not_a_token"
66
63
  literal_token: "c:day"
67
64
  literal_omit: "omit"
@@ -7,11 +7,10 @@ outputs:
7
7
  city: body.body.city
8
8
  git_branch: body.body.git_branch
9
9
  git_commit: body.body.git_commit
10
- git_commit_hash: body.body.git_commit_hash
10
+ git_commit_short: body.body.git_commit_short
11
11
  git_tag: body.body.git_tag
12
12
  git_describe: body.body.git_describe
13
13
  git_dirty: body.body.git_dirty
14
- commit_alias: body.body.commit_alias
15
14
  missing_token: body.body.missing_token
16
15
  literal_token: body.body.literal_token
17
16
  literal_omit: body.body.literal_omit
@@ -33,13 +32,12 @@ body:
33
32
  day_name: c:day
34
33
  epoch_seconds: c:epoch
35
34
  city: c:city
36
- git_branch: c:git_branch
37
- git_commit: c:git_commit
38
- git_commit_hash: c:git_commit_hash
39
- git_tag: c:git_tag
35
+ git_branch: c:branch
36
+ git_commit: c:commit
37
+ git_commit_short: c:commit_short
38
+ git_tag: c:tag
40
39
  git_describe: c:git_describe
41
40
  git_dirty: c:git_dirty
42
- commit_alias: c:commit
43
41
  missing_token: c:not_a_token
44
42
  literal_token: "c:day"
45
43
  removed_note: omit
@@ -61,13 +59,12 @@ examples:
61
59
  day_name: c:day
62
60
  epoch_seconds: > 1700000000
63
61
  city: c:city
64
- git_branch: c:git_branch
65
- git_commit: c:git_commit
66
- git_commit_hash: c:git_commit_hash
67
- git_tag: c:git_tag
62
+ git_branch: c:branch
63
+ git_commit: c:commit
64
+ git_commit_short: c:commit_short
65
+ git_tag: c:tag
68
66
  git_describe: c:git_describe
69
67
  git_dirty: c:git_dirty
70
- commit_alias: c:commit
71
68
  missing_token: "c:not_a_token"
72
69
  literal_token: "c:day"
73
70
  literal_omit: "omit"
@@ -7,10 +7,9 @@ outputs:
7
7
  city: body.query.city
8
8
  git_branch: body.query.git_branch
9
9
  git_commit: body.query.git_commit
10
- git_commit_hash: body.query.git_commit_hash
10
+ git_commit_short: body.query.git_commit_short
11
11
  git_describe: body.query.git_describe
12
12
  git_dirty: body.query.git_dirty
13
- commit_alias: body.query.commit_alias
14
13
  missing_token: body.query.missing_token
15
14
  literal_token: body.query.literal_token
16
15
  literal_omit: body.query.literal_omit
@@ -29,12 +28,11 @@ query:
29
28
  day_name: c:day
30
29
  epoch_seconds: c:epoch
31
30
  city: c:city
32
- git_branch: c:git_branch
33
- git_commit: c:git_commit
34
- git_commit_hash: c:git_commit_hash
31
+ git_branch: c:branch
32
+ git_commit: c:commit
33
+ git_commit_short: c:commit_short
35
34
  git_describe: c:git_describe
36
35
  git_dirty: c:git_dirty
37
- commit_alias: c:commit
38
36
  missing_token: c:not_a_token
39
37
  literal_token: "c:day"
40
38
  literal_omit: "omit"
@@ -56,12 +54,11 @@ examples:
56
54
  day_name: c:day
57
55
  epoch_seconds: != null
58
56
  city: c:city
59
- git_branch: c:git_branch
60
- git_commit: c:git_commit
61
- git_commit_hash: c:git_commit_hash
57
+ git_branch: c:branch
58
+ git_commit: c:commit
59
+ git_commit_short: c:commit_short
62
60
  git_describe: c:git_describe
63
61
  git_dirty: c:git_dirty
64
- commit_alias: c:commit
65
62
  missing_token: "c:not_a_token"
66
63
  literal_token: "c:day"
67
64
  literal_omit: "omit"
@@ -7,10 +7,9 @@ outputs:
7
7
  city: body.body.city
8
8
  git_branch: body.body.git_branch
9
9
  git_commit: body.body.git_commit
10
- git_commit_hash: body.body.git_commit_hash
10
+ git_commit_short: body.body.git_commit_short
11
11
  git_describe: body.body.git_describe
12
12
  git_dirty: body.body.git_dirty
13
- commit_alias: body.body.commit_alias
14
13
  missing_token: body.body.missing_token
15
14
  literal_token: body.body.literal_token
16
15
  literal_omit: body.body.literal_omit
@@ -31,12 +30,11 @@ body:
31
30
  day_name: c:day
32
31
  epoch_seconds: c:epoch
33
32
  city: c:city
34
- git_branch: c:git_branch
35
- git_commit: c:git_commit
36
- git_commit_hash: c:git_commit_hash
33
+ git_branch: c:branch
34
+ git_commit: c:commit
35
+ git_commit_short: c:commit_short
37
36
  git_describe: c:git_describe
38
37
  git_dirty: c:git_dirty
39
- commit_alias: c:commit
40
38
  missing_token: c:not_a_token
41
39
  literal_token: "c:day"
42
40
  literal_omit: "omit"
@@ -57,12 +55,11 @@ examples:
57
55
  day_name: c:day
58
56
  epoch_seconds: != null
59
57
  city: c:city
60
- git_branch: c:git_branch
61
- git_commit: c:git_commit
62
- git_commit_hash: c:git_commit_hash
58
+ git_branch: c:branch
59
+ git_commit: c:commit
60
+ git_commit_short: c:commit_short
63
61
  git_describe: c:git_describe
64
62
  git_dirty: c:git_dirty
65
- commit_alias: c:commit
66
63
  missing_token: "c:not_a_token"
67
64
  literal_token: "c:day"
68
65
  literal_omit: "omit"
@@ -7,10 +7,9 @@ outputs:
7
7
  city: body.echo.body.body.city
8
8
  git_branch: body.echo.body.body.git_branch
9
9
  git_commit: body.echo.body.body.git_commit
10
- git_commit_hash: body.echo.body.body.git_commit_hash
10
+ git_commit_short: body.echo.body.body.git_commit_short
11
11
  git_describe: body.echo.body.body.git_describe
12
12
  git_dirty: body.echo.body.body.git_dirty
13
- commit_alias: body.echo.body.body.commit_alias
14
13
  missing_token: body.echo.body.body.missing_token
15
14
  literal_token: body.echo.body.body.literal_token
16
15
  literal_omit: body.echo.body.body.literal_omit
@@ -31,12 +30,11 @@ body:
31
30
  day_name: c:day
32
31
  epoch_seconds: c:epoch
33
32
  city: c:city
34
- git_branch: c:git_branch
35
- git_commit: c:git_commit
36
- git_commit_hash: c:git_commit_hash
33
+ git_branch: c:branch
34
+ git_commit: c:commit
35
+ git_commit_short: c:commit_short
37
36
  git_describe: c:git_describe
38
37
  git_dirty: c:git_dirty
39
- commit_alias: c:commit
40
38
  missing_token: c:not_a_token
41
39
  literal_token: "c:day"
42
40
  literal_omit: "omit"
@@ -56,12 +54,11 @@ examples:
56
54
  day_name: c:day
57
55
  epoch_seconds: != null
58
56
  city: c:city
59
- git_branch: c:git_branch
60
- git_commit: c:git_commit
61
- git_commit_hash: c:git_commit_hash
57
+ git_branch: c:branch
58
+ git_commit: c:commit
59
+ git_commit_short: c:commit_short
62
60
  git_describe: c:git_describe
63
61
  git_dirty: c:git_dirty
64
- commit_alias: c:commit
65
62
  missing_token: "c:not_a_token"
66
63
  literal_token: "c:day"
67
64
  literal_omit: "omit"
@@ -12,11 +12,10 @@ steps:
12
12
  epoch_seconds: != null
13
13
  city: != null
14
14
  git_branch: != null
15
- git_commit: =* ^([0-9a-f]{8})?$
16
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
15
+ git_commit: =* ^([0-9a-f]{40})?$
16
+ git_commit_short: =* ^([0-9a-f]{8})?$
17
17
  git_describe: != null
18
18
  git_dirty: =* ^(true|false)$
19
- commit_alias: c:git_commit
20
19
  missing_token: "c:not_a_token"
21
20
  literal_token: "c:day"
22
21
  literal_omit: "omit"
@@ -29,4 +28,3 @@ steps:
29
28
  curly_whole: "!= null"
30
29
  text_slice: "=# 1"
31
30
  missing_embed: "xc:not_a_tokeny"
32
- - check: ${call.commit_alias} == ${call.git_commit}
@@ -12,12 +12,11 @@ steps:
12
12
  epoch_seconds: > 1700000000
13
13
  city: != null
14
14
  git_branch: != null
15
- git_commit: =* ^([0-9a-f]{8})?$
16
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
15
+ git_commit: =* ^([0-9a-f]{40})?$
16
+ git_commit_short: =* ^([0-9a-f]{8})?$
17
17
  git_tag: != null
18
18
  git_describe: != null
19
19
  git_dirty: != null
20
- commit_alias: c:git_commit
21
20
  missing_token: "c:not_a_token"
22
21
  literal_token: "c:day"
23
22
  literal_omit: "omit"
@@ -31,4 +30,3 @@ steps:
31
30
  curly_whole: "!= null"
32
31
  text_slice: "=# 1"
33
32
  missing_embed: "xc:not_a_tokeny"
34
- - check: ${call.commit_alias} == ${call.git_commit}
@@ -12,11 +12,10 @@ steps:
12
12
  epoch_seconds: != null
13
13
  city: != null
14
14
  git_branch: != null
15
- git_commit: =* ^([0-9a-f]{8})?$
16
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
15
+ git_commit: =* ^([0-9a-f]{40})?$
16
+ git_commit_short: =* ^([0-9a-f]{8})?$
17
17
  git_describe: != null
18
18
  git_dirty: =* ^(true|false)$
19
- commit_alias: c:git_commit
20
19
  missing_token: "c:not_a_token"
21
20
  literal_token: "c:day"
22
21
  literal_omit: "omit"
@@ -29,4 +28,3 @@ steps:
29
28
  curly_whole: "!= null"
30
29
  text_slice: "=# 1"
31
30
  missing_embed: "xc:not_a_tokeny"
32
- - check: ${call.commit_alias} == ${call.git_commit}
@@ -12,11 +12,10 @@ steps:
12
12
  epoch_seconds: != null
13
13
  city: != null
14
14
  git_branch: != null
15
- git_commit: =* ^([0-9a-f]{8})?$
16
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
15
+ git_commit: =* ^([0-9a-f]{40})?$
16
+ git_commit_short: =* ^([0-9a-f]{8})?$
17
17
  git_describe: != null
18
18
  git_dirty: =* ^(true|false)$
19
- commit_alias: c:git_commit
20
19
  missing_token: "c:not_a_token"
21
20
  literal_token: "c:day"
22
21
  literal_omit: "omit"
@@ -29,4 +28,3 @@ steps:
29
28
  curly_whole: "!= null"
30
29
  text_slice: "=# 1"
31
30
  missing_embed: "xc:not_a_tokeny"
32
- - check: ${call.commit_alias} == ${call.git_commit}
@@ -12,11 +12,10 @@ steps:
12
12
  epoch_seconds: != null
13
13
  city: != null
14
14
  git_branch: != null
15
- git_commit: =* ^([0-9a-f]{8})?$
16
- git_commit_hash: =* ^([0-9a-f]{7,40})?$
15
+ git_commit: =* ^([0-9a-f]{40})?$
16
+ git_commit_short: =* ^([0-9a-f]{8})?$
17
17
  git_describe: != null
18
18
  git_dirty: =* ^(true|false)$
19
- commit_alias: c:git_commit
20
19
  missing_token: "c:not_a_token"
21
20
  literal_token: "c:day"
22
21
  literal_omit: "omit"
@@ -28,4 +27,3 @@ steps:
28
27
  quoted_curly: c:day
29
28
  curly_whole: "!= null"
30
29
  text_slice: "=# 1"
31
- - check: ${call.commit_alias} == ${call.git_commit}